Details

Time bar (total: 6.4s)

sample26.0ms

Algorithm
intervals
Results
11.0ms270×body80valid

simplify145.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0248
1438
2758
31208
41568
51898
62658
74518
810238
936328
1050018

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 23.8b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (* z (- b y)))
0.0b
(* z (- b y))
0.8b
(+ (* x y) (* z (- t a)))
23.0b
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
55×add-sqr-sqrt
54×prod-diff
53×*-un-lft-identity
51×add-cube-cbrt
44×associate-+r+
33×distribute-rgt-in distribute-lft-in
times-frac
add-exp-log add-cbrt-cube add-log-exp
pow1 sub-neg
associate-*r*
expm1-log1p-u fma-def flip3-+ flip-+ log1p-expm1-u
associate-*l* associate-/r* associate-/l*
+-commutative associate-*r/ sum-log associate-/r/ associate-/l/
cbrt-undiv flip3-- frac-2neg div-exp pow-prod-down prod-exp clear-num *-commutative flip-- cbrt-unprod div-inv distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 153
Calls
4 calls:
5.0ms
(+ y (* z (- b y)))
11.0ms
(* z (- b y))
6.0ms
(+ (* x y) (* z (- t a)))
11.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

series477.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(+ y (* z (- b y)))
43.0ms
(* z (- b y))
46.0ms
(+ (* x y) (* z (- t a)))
356.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

simplify96.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
06021288
12282956
25001937

prune576.0ms

Pruning

15 alts after pruning (14 fresh and 1 done)

Merged error: 23.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma z (- b y) y)
0.2b
(/ 1 (/ (fma z (- b y) y) (fma x y (* z (- t a)))))
0.5b
(fma x y (* z (- t a)))
23.0b
(/ (fma z (- b y) y) (fma x y (* z (- t a))))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
54×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
17×add-exp-log
16×associate-/r*
11×add-cbrt-cube
div-exp
div-inv associate-/l*
pow1
cbrt-undiv expm1-log1p-u log1p-expm1-u add-log-exp
rec-exp frac-2neg 1-exp clear-num fma-udef
pow-flip associate-/r/ inv-pow
Counts
4 → 127
Calls
4 calls:
0.0ms
(fma z (- b y) y)
5.0ms
(/ 1 (/ (fma z (- b y) y) (fma x y (* z (- t a)))))
0.0ms
(fma x y (* z (- t a)))
2.0ms
(/ (fma z (- b y) y) (fma x y (* z (- t a))))

series689.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(fma z (- b y) y)
499.0ms
(/ 1 (/ (fma z (- b y) y) (fma x y (* z (- t a)))))
52.0ms
(fma x y (* z (- t a)))
108.0ms
(/ (fma z (- b y) y) (fma x y (* z (- t a))))

simplify60.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
03631470
114551322
250011248

prune430.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 11.2b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma z (- b y) y)
0.5b
(fma x y (* z (- t a)))
0.6b
(/ 1 (fma z (- b y) y))
22.4b
(* (/ 1 (fma z (- b y) y)) (fma x y (* z (- t a))))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
21×*-un-lft-identity
20×add-cube-cbrt times-frac
17×add-exp-log
13×associate-*l*
11×add-cbrt-cube
pow1
expm1-log1p-u div-exp prod-exp fma-udef log1p-expm1-u add-log-exp
associate-*r* associate-/r* associate-/l* unswap-sqr
cbrt-undiv rec-exp 1-exp cbrt-unprod div-inv
distribute-rgt-in pow-flip frac-2neg distribute-lft-in pow-prod-down associate-*l/ clear-num *-commutative inv-pow
Counts
4 → 92
Calls
4 calls:
0.0ms
(fma z (- b y) y)
0.0ms
(fma x y (* z (- t a)))
2.0ms
(/ 1 (fma z (- b y) y))
9.0ms
(* (/ 1 (fma z (- b y) y)) (fma x y (* z (- t a))))

series648.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(fma z (- b y) y)
55.0ms
(fma x y (* z (- t a)))
59.0ms
(/ 1 (fma z (- b y) y))
508.0ms
(* (/ 1 (fma z (- b y) y)) (fma x y (* z (- t a))))

simplify101.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0256684
1955586
24393560
35001560

prune338.0ms

Pruning

13 alts after pruning (10 fresh and 3 done)

Merged error: 11.2b

localize17.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt z)
0.5b
(cbrt z)
0.8b
(+ (* x y) (* z (- t a)))
23.0b
(/ (+ (* x y) (* z (- t a))) (+ y (* (* (cbrt z) (cbrt z)) (* (cbrt z) (- b y)))))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
22×associate-+r+
18×prod-diff
11×distribute-rgt-in distribute-lft-in
times-frac
add-exp-log cbrt-prod add-cbrt-cube add-log-exp
pow1 expm1-log1p-u log1p-expm1-u
flip3-+ associate-/r* flip-+ associate-/l*
sub-neg pow1/3 associate-/r/ associate-/l/
cbrt-undiv +-commutative fma-def frac-2neg div-exp clear-num sum-log div-inv
Counts
4 → 95
Calls
4 calls:
0.0ms
(cbrt z)
1.0ms
(cbrt z)
6.0ms
(+ (* x y) (* z (- t a)))
14.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* (* (cbrt z) (cbrt z)) (* (cbrt z) (- b y)))))

series890.0ms

Counts
4 → 12
Calls
4 calls:
200.0ms
(cbrt z)
199.0ms
(cbrt z)
53.0ms
(+ (* x y) (* z (- t a)))
437.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* (* (cbrt z) (cbrt z)) (* (cbrt z) (- b y)))))

simplify62.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04221022
11358887
25002874

prune454.0ms

Pruning

13 alts after pruning (9 fresh and 4 done)

Merged error: 11.2b

regimes612.0ms

Accuracy

56.6% (5.4b remaining)

Error of 16.3b against oracle of 10.9b and baseline of 23.3b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02827
12827

end0.0ms

sample651.0ms

Algorithm
intervals
Results
365.0ms8423×body80valid