Details

Time bar (total: 7.0s)

sample26.0ms

Algorithm
intervals
Results
9.0ms267×body80valid

simplify127.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: 22.8b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(* z (- t a))
0.0b
(* z (- b y))
0.4b
(+ (* x y) (* z (- t a)))
22.0b
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

rewrite97.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:
24.0ms
(* z (- t a))
21.0ms
(* z (- b y))
12.0ms
(+ (* x y) (* z (- t a)))
34.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

series415.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(* z (- t a))
41.0ms
(* z (- b y))
38.0ms
(+ (* x y) (* z (- t a)))
289.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

simplify78.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
06231398
125361029
250021026

prune442.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 22.1b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* z (- b y))
0.4b
(+ (* x y) (* z (- t a)))
0.6b
(/ 1 (+ y (* z (- b y))))
21.5b
(* (+ (* x y) (* z (- t a))) (/ 1 (+ y (* z (- b y)))))

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
57×add-sqr-sqrt
49×*-un-lft-identity
46×add-cube-cbrt
36×prod-diff
22×distribute-rgt-in associate-+r+ distribute-lft-in
20×times-frac associate-*r*
19×add-exp-log
13×add-cbrt-cube
pow1
associate-*l* add-log-exp
flip3-+ prod-exp flip-+
expm1-log1p-u sub-neg div-exp associate-/r/ log1p-expm1-u unswap-sqr
associate-*r/ associate-/r* cbrt-unprod associate-/l*
cbrt-undiv frac-times rec-exp 1-exp pow-prod-down associate-*l/ *-commutative div-inv
+-commutative flip3-- pow-flip fma-def frac-2neg clear-num sum-log un-div-inv flip-- distribute-lft-out-- inv-pow difference-of-squares
Counts
4 → 161
Calls
4 calls:
21.0ms
(* z (- b y))
12.0ms
(+ (* x y) (* z (- t a)))
9.0ms
(/ 1 (+ y (* z (- b y))))
40.0ms
(* (+ (* x y) (* z (- t a))) (/ 1 (+ y (* z (- b y)))))

series446.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(* z (- b y))
41.0ms
(+ (* x y) (* z (- t a)))
81.0ms
(/ 1 (+ y (* z (- b y))))
291.0ms
(* (+ (* x y) (* z (- t a))) (/ 1 (+ y (* z (- b y)))))

simplify92.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
06581375
128301048
250011011

prune455.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 22.1b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* z (- b y))
0.4b
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
0.4b
(+ (* x y) (* z (- t a)))
22.0b
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

rewrite98.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
86×add-sqr-sqrt
84×*-un-lft-identity
82×add-cube-cbrt
36×prod-diff
22×distribute-rgt-in associate-+r+ distribute-lft-in
19×add-exp-log
18×associate-/r*
13×add-cbrt-cube
11×associate-/r/
div-exp
pow1 flip3-+ flip-+
div-inv associate-/l* add-log-exp
associate-*r*
cbrt-undiv expm1-log1p-u sub-neg log1p-expm1-u
associate-*l*
rec-exp frac-2neg 1-exp associate-*r/ clear-num associate-/l/
+-commutative flip3-- pow-flip fma-def pow-prod-down prod-exp sum-log *-commutative flip-- cbrt-unprod distribute-lft-out-- inv-pow difference-of-squares unswap-sqr
Counts
4 → 201
Calls
4 calls:
24.0ms
(* z (- b y))
22.0ms
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
12.0ms
(+ (* x y) (* z (- t a)))
32.0ms
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

series1.1s

Counts
4 → 12
Calls
4 calls:
34.0ms
(* z (- b y))
753.0ms
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
37.0ms
(+ (* x y) (* z (- t a)))
251.0ms
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

simplify102.0ms

Algorithm
egg-herbie
Counts
213 → 213
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
07852479
134412063
250011964

prune522.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 22.1b

localize14.0ms

Local error

Found 4 expressions with local error:

0.4b
(+ (* x y) (* z (- t a)))
0.6b
(/ 1 (fma z (- b y) y))
1.2b
(/ 1 (+ (* x y) (* z (- t a))))
20.5b
(/ (/ 1 (fma z (- b y) y)) (/ 1 (+ (* x y) (* z (- t a)))))

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
483×times-frac
242×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
52×add-exp-log
36×div-exp
33×div-inv
31×associate-/r/
22×associate-+r+
21×associate-/r*
20×add-cbrt-cube
19×associate-/l*
18×prod-diff
16×flip3-+ flip-+
11×distribute-rgt-in distribute-lft-in
10×cbrt-undiv rec-exp 1-exp
pow1 add-log-exp
expm1-log1p-u log1p-expm1-u
frac-2neg clear-num
sub-neg pow-flip inv-pow
+-commutative fma-def sum-log associate-/l/
Counts
4 → 361
Calls
4 calls:
12.0ms
(+ (* x y) (* z (- t a)))
5.0ms
(/ 1 (fma z (- b y) y))
13.0ms
(/ 1 (+ (* x y) (* z (- t a))))
28.0ms
(/ (/ 1 (fma z (- b y) y)) (/ 1 (+ (* x y) (* z (- t a)))))

series563.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(+ (* x y) (* z (- t a)))
51.0ms
(/ 1 (fma z (- b y) y))
55.0ms
(/ 1 (+ (* x y) (* z (- t a))))
415.0ms
(/ (/ 1 (fma z (- b y) y)) (/ 1 (+ (* x y) (* z (- t a)))))

simplify86.0ms

Algorithm
egg-herbie
Counts
373 → 373
Iterations

Useful iterations: 1 (35.0ms)

IterNodesCost
015145862
150015233

prune847.0ms

Pruning

11 alts after pruning (8 fresh and 3 done)

Merged error: 8.7b

regimes588.0ms

Accuracy

67.5% (4.1b remaining)

Error of 14.9b against oracle of 10.8b and baseline of 23.3b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04355
14355

end0.0ms

sample694.0ms

Algorithm
intervals
Results
315.0ms8433×body80valid