Details

Time bar (total: 3.3s)

analyze369.0ms

Algorithm
search

sample39.0ms

Algorithm
intervals
Results
14.0ms81×body1280valid
6.0ms52×body640valid
5.0ms31×body2560valid
2.0ms62×body80valid
2.0ms22×body320valid
0.0msbody160valid

simplify26.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0185
1435
2915
31945
43215
55795
610885
713055
813055

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 46.3b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x y) z)
14.1b
(- (fma x y z) (+ 1.0 (+ (* x y) z)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
13×add-log-exp
*-un-lft-identity
add-sqr-sqrt sum-log
diff-log
pow1 add-exp-log add-cube-cbrt add-cbrt-cube distribute-lft-out--
+-commutative sub-neg flip3-- flip3-+ flip-- flip-+ distribute-lft-out associate--r+ difference-of-squares
Counts
2 → 29
Calls
2 calls:
4.0ms
(+ (* x y) z)
7.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))

series15.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(+ (* x y) z)
10.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))

simplify59.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0178220
1602204
22697203
35001203

prune58.0ms

Filtered
24 candidates to 35 candidates (-45.8%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New29635
Fresh000
Picked011
Done000
Total29736

Merged error: 45.9b

Counts
36 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* x y) (* x y))
5.4b
(- (* (* x y) (* x y)) (* z z))
14.8b
(- (fma x y z) (+ 1.0 (/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))))
32.7b
(/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
43×pow1
18×add-exp-log *-un-lft-identity add-cbrt-cube
17×pow-prod-down
15×add-sqr-sqrt
13×add-cube-cbrt
12×times-frac
11×add-log-exp
prod-exp cbrt-unprod
difference-of-squares
flip3-- pow-sqr pow-prod-up flip-- associate-/l*
diff-log associate-/r*
sub-neg pow-plus div-sub associate-/r/ associate-/l/ distribute-lft-out--
cbrt-undiv pow2 associate-+r- frac-2neg swap-sqr div-exp associate-*r* associate-*l* clear-num sum-log *-commutative div-inv distribute-lft-out associate--r+ associate--r-
Counts
4 → 101
Calls
4 calls:
6.0ms
(* (* x y) (* x y))
6.0ms
(- (* (* x y) (* x y)) (* z z))
16.0ms
(- (fma x y z) (+ 1.0 (/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))))
12.0ms
(/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))

series59.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(* (* x y) (* x y))
14.0ms
(- (* (* x y) (* x y)) (* z z))
23.0ms
(- (fma x y z) (+ 1.0 (/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))))
15.0ms
(/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))

simplify64.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0427979
12002820
25001784

prune160.0ms

Filtered
67 candidates to 113 candidates (-68.7%)
Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New10013113
Fresh145
Picked101
Done101
Total10317120

Merged error: 45.6b

Counts
120 → 17

localize15.0ms

Local error

Found 4 expressions with local error:

1.4b
(+ (- (fma x y z) (+ 1.0 (/ (* (* x y) (* x y)) (- (* x y) z)))) (/ (* z z) (- (* x y) z)))
14.6b
(- (fma x y z) (+ 1.0 (/ (* (* x y) (* x y)) (- (* x y) z))))
20.1b
(/ (* z z) (- (* x y) z))
22.4b
(/ (* (* x y) (* x y)) (- (* x y) z))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
27×add-exp-log add-cbrt-cube
22×*-un-lft-identity
18×add-log-exp
10×add-sqr-sqrt
prod-exp cbrt-unprod
add-cube-cbrt
cbrt-undiv div-exp
times-frac associate-/r*
sum-log distribute-lft-out
pow1 flip3-- diff-log associate-/r/ flip-- distribute-lft-out--
sub-neg associate-+l+ frac-2neg frac-add clear-num div-inv associate-/l*
+-commutative associate-+l- flip3-+ flip-+ associate--r+ difference-of-squares
Counts
4 → 90
Calls
4 calls:
17.0ms
(+ (- (fma x y z) (+ 1.0 (/ (* (* x y) (* x y)) (- (* x y) z)))) (/ (* z z) (- (* x y) z)))
10.0ms
(- (fma x y z) (+ 1.0 (/ (* (* x y) (* x y)) (- (* x y) z))))
6.0ms
(/ (* z z) (- (* x y) z))
11.0ms
(/ (* (* x y) (* x y)) (- (* x y) z))

series66.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(+ (- (fma x y z) (+ 1.0 (/ (* (* x y) (* x y)) (- (* x y) z)))) (/ (* z z) (- (* x y) z)))
20.0ms
(- (fma x y z) (+ 1.0 (/ (* (* x y) (* x y)) (- (* x y) z))))
12.0ms
(/ (* z z) (- (* x y) z))
11.0ms
(/ (* (* x y) (* x y)) (- (* x y) z))

simplify66.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
05171148
127341043
250011043

prune156.0ms

Filtered
67 candidates to 102 candidates (-52.2%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New984102
Fresh11516
Picked101
Done000
Total10019119

Merged error: 45.6b

Counts
119 → 19

localize13.0ms

Local error

Found 4 expressions with local error:

1.4b
(+ (- (fma x y z) (+ 1.0 (* (* x y) (/ (* x y) (- (* x y) z))))) (/ (* z z) (- (* x y) z)))
13.8b
(/ (* x y) (- (* x y) z))
14.1b
(- (fma x y z) (+ 1.0 (* (* x y) (/ (* x y) (- (* x y) z)))))
20.1b
(/ (* z z) (- (* x y) z))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
18×add-log-exp
15×*-un-lft-identity
14×add-exp-log add-cbrt-cube
10×add-sqr-sqrt
add-cube-cbrt
times-frac associate-/r*
sum-log
pow1 cbrt-undiv flip3-- diff-log div-exp associate-/r/ flip--
sub-neg associate-+l+ frac-2neg frac-add prod-exp clear-num cbrt-unprod div-inv distribute-lft-out associate-/l* distribute-lft-out--
+-commutative associate-+l- flip3-+ flip-+ associate--r+ difference-of-squares
Counts
4 → 82
Calls
4 calls:
12.0ms
(+ (- (fma x y z) (+ 1.0 (* (* x y) (/ (* x y) (- (* x y) z))))) (/ (* z z) (- (* x y) z)))
7.0ms
(/ (* x y) (- (* x y) z))
5.0ms
(- (fma x y z) (+ 1.0 (* (* x y) (/ (* x y) (- (* x y) z)))))
7.0ms
(/ (* z z) (- (* x y) z))

series64.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(+ (- (fma x y z) (+ 1.0 (* (* x y) (/ (* x y) (- (* x y) z))))) (/ (* z z) (- (* x y) z)))
9.0ms
(/ (* x y) (- (* x y) z))
19.0ms
(- (fma x y z) (+ 1.0 (* (* x y) (/ (* x y) (- (* x y) z)))))
12.0ms
(/ (* z z) (- (* x y) z))

simplify51.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
04351002
11965933
25002933

prune93.0ms

Filtered
67 candidates to 94 candidates (-40.3%)
Pruning

24 alts after pruning (24 fresh and 0 done)

PrunedKeptTotal
New841094
Fresh41418
Picked101
Done000
Total8924113

Merged error: 45.6b

Counts
113 → 24

regimes396.0ms

Accuracy

0% (0.8b remaining)

Error of 45.0b against oracle of 44.2b and baseline of 45.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01914
11914

end0.0ms

analyze365.0ms

Algorithm
search

sample1.0s

Algorithm
intervals
Results
389.0ms2644×body1280valid
187.0ms1563×body640valid
112.0ms630×body2560valid
71.0ms2111×body80valid
63.0ms703×body320valid
21.0ms349×body160valid

Profiling

Loading profile data...