Details

Time bar (total: 5.2s)

sample41.0ms

Algorithm
intervals
Results
13.0ms86×body1280valid
8.0ms20×body2560valid
5.0ms45×body640valid
2.0ms77×body80valid
2.0ms22×body320valid
0.0msbody160valid

simplify28.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

1 alts after pruning (1 fresh and 0 done)

Merged error: 42.6b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite57.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:
7.0ms
(+ (* x y) z)
49.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))

series51.0ms

Counts
2 → 6
Calls
2 calls:
18.0ms
(+ (* x y) z)
32.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

prune149.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 42.1b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite153.0ms

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

series120.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(+ (* x y) z)
32.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))
37.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))
32.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))

simplify65.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0178546
1602508
22697507
35001507

prune843.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 42.1b

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* x y) (* x y))
5.0b
(- (* (* x y) (* x y)) (* z z))
10.7b
(- (fma x y z) (+ 1.0 (/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))))
34.0b
(/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))

rewrite354.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:
26.0ms
(* (* x y) (* x y))
28.0ms
(- (* (* x y) (* x y)) (* z z))
220.0ms
(- (fma x y z) (+ 1.0 (/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))))
77.0ms
(/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))

series185.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(* (* x y) (* x y))
52.0ms
(- (* (* x y) (* x y)) (* z z))
59.0ms
(- (fma x y z) (+ 1.0 (/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))))
46.0ms
(/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))

simplify65.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0427979
12002820
25001784

prune652.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 41.9b

localize14.0ms

Local error

Found 4 expressions with local error:

0.8b
(/ 1 (- (* x y) z))
5.0b
(- (* (* x y) (* x y)) (* z z))
16.5b
(- (fma x y z) (+ 1.0 (* (- (* (* x y) (* x y)) (* z z)) (/ 1 (- (* x y) z)))))
33.0b
(* (- (* (* x y) (* x y)) (* z z)) (/ 1 (- (* x y) z)))

rewrite188.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
23×*-un-lft-identity
20×add-cube-cbrt times-frac
17×add-exp-log
15×associate-*r*
11×add-cbrt-cube add-log-exp
pow1
flip3-- flip--
div-exp associate-*l* prod-exp associate-/r/
diff-log associate-/r* associate-/l* difference-of-squares unswap-sqr
cbrt-undiv frac-times sub-neg rec-exp 1-exp associate-*l/ cbrt-unprod div-inv
pow-flip frac-2neg associate-*r/ pow-prod-down clear-num sum-log un-div-inv *-commutative associate--r+ distribute-lft-out-- inv-pow
Counts
4 → 105
Calls
4 calls:
16.0ms
(/ 1 (- (* x y) z))
29.0ms
(- (* (* x y) (* x y)) (* z z))
13.0ms
(- (fma x y z) (+ 1.0 (* (- (* (* x y) (* x y)) (* z z)) (/ 1 (- (* x y) z)))))
127.0ms
(* (- (* (* x y) (* x y)) (* z z)) (/ 1 (- (* x y) z)))

series179.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(/ 1 (- (* x y) z))
51.0ms
(- (* (* x y) (* x y)) (* z z))
63.0ms
(- (fma x y z) (+ 1.0 (* (- (* (* x y) (* x y)) (* z z)) (/ 1 (- (* x y) z)))))
45.0ms
(* (- (* (* x y) (* x y)) (* z z)) (/ 1 (- (* x y) z)))

simplify119.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (108.0ms)

IterNodesCost
04171138
12595983
25002905

prune565.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 30.9b

regimes256.0ms

Accuracy

0% (0.9b remaining)

Error of 31.3b against oracle of 30.4b and baseline of 31.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02135
12135

end0.0ms

sample1.0s

Algorithm
intervals
Results
403.0ms2625×body1280valid
195.0ms1608×body640valid
118.0ms630×body2560valid
71.0ms2084×body80valid
63.0ms698×body320valid
24.0ms355×body160valid