Details

Time bar (total: 3.9s)

sample32.0ms

Algorithm
intervals
Results
11.0ms88×body1280valid
5.0ms50×body640valid
3.0ms23×body2560valid
2.0ms69×body80valid
1.0ms18×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

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 45.0b

localize12.0ms

Local error

Found 2 expressions with local error:

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

rewrite27.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:
3.0ms
(+ (* x y) z)
23.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))

series62.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0178220
1602204
22697203
35001203

prune84.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 44.5b

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* x y) (* x y))
5.8b
(- (* (* x y) (* x y)) (* z z))
12.8b
(- (fma x y z) (+ 1.0 (/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))))
33.7b
(/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))

rewrite172.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:
10.0ms
(* (* x y) (* x y))
11.0ms
(- (* (* x y) (* x y)) (* z z))
112.0ms
(- (fma x y z) (+ 1.0 (/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))))
36.0ms
(/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))

series216.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(* (* x y) (* x y))
56.0ms
(- (* (* x y) (* x y)) (* z z))
71.0ms
(- (fma x y z) (+ 1.0 (/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))))
53.0ms
(/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))

simplify63.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0427979
12002820
25001784

prune276.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 44.3b

localize20.0ms

Local error

Found 4 expressions with local error:

33.4b
(cbrt (* (* x y) (* x y)))
33.4b
(cbrt (* (* x y) (* x y)))
33.4b
(cbrt (* (* x y) (* x y)))
33.7b
(/ (- (* (* (cbrt (* (* x y) (* x y))) (cbrt (* (* x y) (* x y)))) (cbrt (* (* x y) (* x y)))) (* z z)) (- (* x y) z))

rewrite92.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
pow1 add-log-exp
cbrt-prod pow1/3 associate-/r* associate-/l*
flip3-- associate-/r/ flip-- associate-/l/
cbrt-undiv frac-2neg div-sub div-exp clear-num div-inv
Counts
4 → 59
Calls
4 calls:
11.0ms
(cbrt (* (* x y) (* x y)))
9.0ms
(cbrt (* (* x y) (* x y)))
9.0ms
(cbrt (* (* x y) (* x y)))
62.0ms
(/ (- (* (* (cbrt (* (* x y) (* x y))) (cbrt (* (* x y) (* x y)))) (cbrt (* (* x y) (* x y)))) (* z z)) (- (* x y) z))

series316.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(cbrt (* (* x y) (* x y)))
89.0ms
(cbrt (* (* x y) (* x y)))
87.0ms
(cbrt (* (* x y) (* x y)))
51.0ms
(/ (- (* (* (cbrt (* (* x y) (* x y))) (cbrt (* (* x y) (* x y)))) (cbrt (* (* x y) (* x y)))) (* z z)) (- (* x y) z))

simplify95.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (86.0ms)

IterNodesCost
02871192
19411061
23271900
35001863

prune304.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 44.3b

localize14.0ms

Local error

Found 4 expressions with local error:

2.2b
(+ (- (fma x y z) (+ 1.0 (/ (* (* x y) (* x y)) (- (* x y) z)))) (/ (* z z) (- (* x y) z)))
12.0b
(- (fma x y z) (+ 1.0 (/ (* (* x y) (* x y)) (- (* x y) z))))
20.9b
(/ (* (* x y) (* x y)) (- (* x y) z))
24.7b
(/ (* z z) (- (* x y) z))

rewrite304.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:
241.0ms
(+ (- (fma x y z) (+ 1.0 (/ (* (* x y) (* x y)) (- (* x y) z)))) (/ (* z z) (- (* x y) z)))
37.0ms
(- (fma x y z) (+ 1.0 (/ (* (* x y) (* x y)) (- (* x y) z))))
16.0ms
(/ (* (* x y) (* x y)) (- (* x y) z))
7.0ms
(/ (* z z) (- (* x y) z))

series217.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(+ (- (fma x y z) (+ 1.0 (/ (* (* x y) (* x y)) (- (* x y) z)))) (/ (* z z) (- (* x y) z)))
56.0ms
(- (fma x y z) (+ 1.0 (/ (* (* x y) (* x y)) (- (* x y) z))))
37.0ms
(/ (* (* x y) (* x y)) (- (* x y) z))
57.0ms
(/ (* z z) (- (* x y) z))

simplify69.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
05171148
127231043
250021043

prune237.0ms

Pruning

22 alts after pruning (22 fresh and 0 done)

Merged error: 44.2b

regimes262.0ms

Accuracy

0% (1.3b remaining)

Error of 46.1b against oracle of 44.8b and baseline of 46.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01814
11814

end0.0ms

sample878.0ms

Algorithm
intervals
Results
335.0ms2668×body1280valid
166.0ms1654×body640valid
88.0ms595×body2560valid
53.0ms2034×body80valid
52.0ms714×body320valid
17.0ms335×body160valid