Details

Time bar (total: 7.5s)

sample38.0ms

Algorithm
intervals
Results
23.0ms269×body80valid

simplify136.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.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.1b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite51.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:
12.0ms
(* z (- t a))
15.0ms
(* z (- b y))
6.0ms
(+ (* x y) (* z (- t a)))
11.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

series462.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(* z (- t a))
35.0ms
(* z (- b y))
47.0ms
(+ (* x y) (* z (- t a)))
340.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

simplify83.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
06231398
125361029
250021026

prune455.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 20.6b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* z (- b y))
0.3b
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
1.4b
(+ (* x y) (* z (- t a)))
20.4b
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

rewrite52.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:
12.0ms
(* z (- b y))
10.0ms
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
6.0ms
(+ (* x y) (* z (- t a)))
11.0ms
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

series1.3s

Counts
4 → 12
Calls
4 calls:
40.0ms
(* z (- b y))
894.0ms
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
44.0ms
(+ (* x y) (* z (- t a)))
287.0ms
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

simplify118.0ms

Algorithm
egg-herbie
Counts
213 → 213
Iterations

Useful iterations: 2 (94.0ms)

IterNodesCost
07852479
134412063
250011964

prune605.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 20.6b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite20.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)
2.0ms
(/ 1 (fma z (- b y) y))
0.0ms
(fma x y (* z (- t a)))
14.0ms
(* (/ 1 (fma z (- b y) y)) (fma x y (* z (- t a))))

series660.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(fma z (- b y) y)
66.0ms
(/ 1 (fma z (- b y) y))
51.0ms
(fma x y (* z (- t a)))
516.0ms
(* (/ 1 (fma z (- b y) y)) (fma x y (* z (- t a))))

simplify115.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0256684
1955586
24393560
35001560

prune317.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 9.2b

localize22.0ms

Local error

Found 4 expressions with local error:

3.1b
(- (* t t) (* a a))
8.2b
(* z (- (* t t) (* a a)))
15.5b
(/ (* z (- (* t t) (* a a))) (+ t a))
20.4b
(/ (+ (* x y) (/ (* z (- (* t t) (* a a))) (+ t a))) (+ y (* z (- b y))))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity
18×add-sqr-sqrt
16×add-cube-cbrt
13×add-exp-log times-frac add-cbrt-cube
associate-/r*
pow1 add-log-exp
expm1-log1p-u associate-*r/ associate-*r* associate-/r/ log1p-expm1-u associate-/l/ associate-/l*
cbrt-undiv distribute-rgt-in sub-neg flip3-- distribute-lft-in flip3-+ div-exp associate-*l* prod-diff flip-- flip-+
frac-2neg prod-exp clear-num cbrt-unprod div-inv distribute-lft-out difference-of-squares
fma-neg diff-log pow-prod-down *-commutative unswap-sqr
Counts
4 → 108
Calls
4 calls:
3.0ms
(- (* t t) (* a a))
10.0ms
(* z (- (* t t) (* a a)))
11.0ms
(/ (* z (- (* t t) (* a a))) (+ t a))
34.0ms
(/ (+ (* x y) (/ (* z (- (* t t) (* a a))) (+ t a))) (+ y (* z (- b y))))

series993.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(- (* t t) (* a a))
72.0ms
(* z (- (* t t) (* a a)))
87.0ms
(/ (* z (- (* t t) (* a a))) (+ t a))
791.0ms
(/ (+ (* x y) (/ (* z (- (* t t) (* a a))) (+ t a))) (+ y (* z (- b y))))

simplify87.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
05181154
124681030
250031021

prune384.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 9.1b

regimes471.0ms

Accuracy

41.9% (7.4b remaining)

Error of 18.6b against oracle of 11.2b and baseline of 23.9b

bsearch3.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04451
14451

end0.0ms

sample1.0s

Algorithm
intervals
Results
740.0ms8418×body80valid