Details

Time bar (total: 7.6s)

sample27.0ms

Algorithm
intervals
Results
9.0ms265×body80valid

simplify124.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: 21.0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite99.0ms

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

series390.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* z (- t a))
30.0ms
(* z (- b y))
36.0ms
(+ (* x y) (* z (- t a)))
292.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

simplify73.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06231398
125361029
250021026

prune401.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 20.4b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (* z (- b y)))
0.2b
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
0.8b
(+ (* x y) (* z (- t a)))
20.3b
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

rewrite84.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
81×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
44×associate-+r+
36×prod-diff
22×distribute-rgt-in distribute-lft-in
18×associate-/r*
17×add-exp-log
11×associate-/r/ add-cbrt-cube
flip3-+ div-exp flip-+ add-log-exp
div-inv associate-/l*
pow1
cbrt-undiv expm1-log1p-u sub-neg fma-def log1p-expm1-u
+-commutative rec-exp frac-2neg 1-exp clear-num sum-log associate-/l/
pow-flip inv-pow
Counts
4 → 193
Calls
4 calls:
10.0ms
(+ y (* z (- b y)))
24.0ms
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
12.0ms
(+ (* x y) (* z (- t a)))
30.0ms
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

series1.0s

Counts
4 → 12
Calls
4 calls:
25.0ms
(+ y (* z (- b y)))
728.0ms
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
38.0ms
(+ (* x y) (* z (- t a)))
246.0ms
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

simplify82.0ms

Algorithm
egg-herbie
Counts
205 → 205
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
07602364
130181989
250021882

prune548.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 20.4b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
45×add-sqr-sqrt
37×*-un-lft-identity
34×add-cube-cbrt
20×times-frac
19×add-exp-log
18×prod-diff
16×associate-*l*
13×add-cbrt-cube
12×distribute-rgt-in distribute-lft-in
pow1
associate-*r*
prod-exp
expm1-log1p-u div-exp log1p-expm1-u add-log-exp unswap-sqr
associate-/r* cbrt-unprod fma-udef associate-/l*
cbrt-undiv sub-neg rec-exp 1-exp associate-*r/ pow-prod-down *-commutative div-inv
flip3-- pow-flip frac-2neg associate-*l/ clear-num flip-- distribute-lft-out-- inv-pow difference-of-squares
Counts
4 → 128
Calls
4 calls:
23.0ms
(* z (- t a))
1.0ms
(fma x y (* z (- t a)))
9.0ms
(/ 1 (fma (- b y) z y))
16.0ms
(* (/ 1 (fma (- b y) z y)) (fma x y (* z (- t a))))

series1.2s

Counts
4 → 12
Calls
4 calls:
36.0ms
(* z (- t a))
42.0ms
(fma x y (* z (- t a)))
83.0ms
(/ 1 (fma (- b y) z y))
1.0s
(* (/ 1 (fma (- b y) z y)) (fma x y (* z (- t a))))

simplify53.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0413990
11644767
25001741

prune358.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 9.4b

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (* (+ y (* z (- b y))) (/ 1 (+ (* x y) (* z (- t a))))))
0.3b
(/ 1 (+ (* x y) (* z (- t a))))
0.8b
(+ (* x y) (* z (- t a)))
20.2b
(* (+ y (* z (- b y))) (/ 1 (+ (* x y) (* z (- t a)))))

rewrite110.0ms

Algorithm
rewrite-expression-head
Rules
52×add-exp-log
41×add-sqr-sqrt
35×*-un-lft-identity
34×add-cube-cbrt
23×times-frac
22×associate-+r+
20×div-exp add-cbrt-cube
18×prod-diff
16×prod-exp
15×associate-*r*
11×distribute-rgt-in distribute-lft-in
10×pow1 rec-exp 1-exp associate-/r/
flip3-+ flip-+
cbrt-undiv associate-/l* add-log-exp
expm1-log1p-u frac-times associate-*l/ associate-/r* cbrt-unprod log1p-expm1-u
pow-flip associate-*l* div-inv unswap-sqr
sub-neg frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv inv-pow
+-commutative fma-def sum-log *-commutative
Counts
4 → 161
Calls
4 calls:
35.0ms
(/ 1 (* (+ y (* z (- b y))) (/ 1 (+ (* x y) (* z (- t a))))))
13.0ms
(/ 1 (+ (* x y) (* z (- t a))))
12.0ms
(+ (* x y) (* z (- t a)))
43.0ms
(* (+ y (* z (- b y))) (/ 1 (+ (* x y) (* z (- t a)))))

series1.1s

Counts
4 → 12
Calls
4 calls:
756.0ms
(/ 1 (* (+ y (* z (- b y))) (/ 1 (+ (* x y) (* z (- t a))))))
52.0ms
(/ 1 (+ (* x y) (* z (- t a))))
37.0ms
(+ (* x y) (* z (- t a)))
252.0ms
(* (+ y (* z (- b y))) (/ 1 (+ (* x y) (* z (- t a)))))

simplify72.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
06351589
126161248
250031197

prune439.0ms

Pruning

13 alts after pruning (10 fresh and 3 done)

Merged error: 9.4b

regimes548.0ms

Accuracy

67.3% (4.0b remaining)

Error of 15.0b against oracle of 11.0b and baseline of 23.2b

bsearch2.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03754
14054
24354
34354

end0.0ms

sample732.0ms

Algorithm
intervals
Results
317.0ms8410×body80valid