Details

Time bar (total: 6.4s)

sample25.0ms

Algorithm
intervals
Results
11.0ms265×body80valid

simplify136.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: 24.7b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* z (- b y))
0.0b
(* z (- t a))
1.3b
(+ (* x y) (* z (- t a)))
24.0b
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

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

series501.0ms

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

simplify90.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
06231398
125361029
250021026

prune486.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 24.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(* z (- b y))
0.5b
(fma x y (* t z))
0.9b
(+ (fma x y (* t z)) (* (- a) z))
24.0b
(/ (+ (fma x y (* t z)) (* (- a) z)) (+ y (* z (- b y))))

rewrite28.0ms

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

series478.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(* z (- b y))
48.0ms
(fma x y (* t z))
48.0ms
(+ (fma x y (* t z)) (* (- a) z))
342.0ms
(/ (+ (fma x y (* t z)) (* (- a) z)) (+ y (* z (- b y))))

simplify72.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
04161024
11885816
25001797

prune382.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 22.8b

localize21.0ms

Local error

Found 4 expressions with local error:

0.5b
(fma x y (* t z))
0.9b
(+ (fma x y (* t z)) (* (- a) z))
1.3b
(+ (* z b) (* z (- y)))
24.0b
(/ (+ (fma x y (* t z)) (* (- a) z)) (+ y (+ (* z b) (* z (- y)))))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
14×add-sqr-sqrt add-cube-cbrt
12×times-frac
add-log-exp
add-exp-log add-cbrt-cube
distribute-lft-out
pow1 distribute-lft-neg-out expm1-log1p-u fma-def flip3-+ associate-/r* flip-+ log1p-expm1-u
unsub-neg associate-/l*
+-commutative div-sub sum-log associate-/r/ distribute-rgt-neg-out fma-udef associate-/l/
cbrt-undiv associate-+l+ frac-2neg div-exp clear-num div-inv
Counts
4 → 85
Calls
4 calls:
0.0ms
(fma x y (* t z))
2.0ms
(+ (fma x y (* t z)) (* (- a) z))
3.0ms
(+ (* z b) (* z (- y)))
18.0ms
(/ (+ (fma x y (* t z)) (* (- a) z)) (+ y (+ (* z b) (* z (- y)))))

series483.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(fma x y (* t z))
54.0ms
(+ (fma x y (* t z)) (* (- a) z))
48.0ms
(+ (* z b) (* z (- y)))
337.0ms
(/ (+ (fma x y (* t z)) (* (- a) z)) (+ y (+ (* z b) (* z (- y)))))

simplify65.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0346923
11552794
25002761

prune369.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 22.8b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(* z (- t a))
0.2b
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
1.3b
(+ (* x y) (* z (- t a)))
24.0b
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

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

series1.3s

Counts
4 → 12
Calls
4 calls:
47.0ms
(* z (- t a))
920.0ms
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
55.0ms
(+ (* x y) (* z (- t a)))
304.0ms
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

simplify100.0ms

Algorithm
egg-herbie
Counts
213 → 213
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
07162474
131252063
250021958

prune559.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 22.8b

regimes455.0ms

Accuracy

0% (2.8b remaining)

Error of 23.9b against oracle of 21.1b and baseline of 23.9b

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02811
13511
23711
33711

end0.0ms

sample657.0ms

Algorithm
intervals
Results
358.0ms8413×body80valid