Details

Time bar (total: 7.2s)

sample27.0ms

Algorithm
intervals
Results
12.0ms269×body80valid

simplify141.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.2b

localize12.0ms

Local error

Found 4 expressions with local error:

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

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

series527.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(* z (- b y))
36.0ms
(+ y (* z (- b y)))
55.0ms
(+ (* x y) (* z (- t a)))
392.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

simplify90.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
06021288
12282956
25001937

prune543.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 22.5b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
52×add-sqr-sqrt
46×*-un-lft-identity
45×add-cube-cbrt
44×associate-+r+
36×prod-diff
22×distribute-rgt-in distribute-lft-in
20×times-frac
17×add-exp-log
15×associate-*r*
11×add-cbrt-cube
add-log-exp
pow1
flip3-+ flip-+
expm1-log1p-u sub-neg fma-def div-exp prod-exp associate-/r/ log1p-expm1-u
associate-*l* associate-/r* associate-/l* unswap-sqr
cbrt-undiv +-commutative frac-times rec-exp 1-exp associate-*l/ sum-log cbrt-unprod div-inv
pow-flip frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv *-commutative inv-pow
Counts
4 → 153
Calls
4 calls:
6.0ms
(+ y (* z (- b y)))
4.0ms
(/ 1 (+ y (* z (- b y))))
6.0ms
(+ (* x y) (* z (- t a)))
19.0ms
(* (+ (* x y) (* z (- t a))) (/ 1 (+ y (* z (- b y)))))

series535.0ms

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

simplify85.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
06361265
12433974
25002935

prune561.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 22.5b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (- b y) z y)
0.0b
(* z (- t a))
0.8b
(fma x y (* z (- t a)))
22.2b
(/ (fma x y (* z (- t a))) (fma (- b y) z y))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
28×*-un-lft-identity
26×add-cube-cbrt
18×prod-diff
11×distribute-rgt-in distribute-lft-in
times-frac
add-exp-log add-cbrt-cube
pow1
associate-*r*
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*l* associate-/r* associate-/l*
sub-neg associate-*r/ fma-udef
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 → 95
Calls
4 calls:
0.0ms
(fma (- b y) z y)
12.0ms
(* z (- t a))
0.0ms
(fma x y (* z (- t a)))
2.0ms
(/ (fma x y (* z (- t a))) (fma (- b y) z y))

series546.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(fma (- b y) z y)
44.0ms
(* z (- t a))
59.0ms
(fma x y (* z (- t a)))
400.0ms
(/ (fma x y (* z (- t a))) (fma (- b y) z y))

simplify47.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0307774
11107590
25001584

prune335.0ms

Pruning

14 alts after pruning (12 fresh and 2 done)

Merged error: 22.5b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* z (- t a))
0.3b
(/ 1 (/ (fma (- b y) z y) (fma x y (* z (- t a)))))
0.8b
(fma x y (* z (- t a)))
22.2b
(/ (fma (- b y) z y) (fma x y (* z (- t a))))

rewrite29.0ms

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

series1.5s

Counts
4 → 12
Calls
4 calls:
47.0ms
(* z (- t a))
1.2s
(/ 1 (/ (fma (- b y) z y) (fma x y (* z (- t a)))))
56.0ms
(fma x y (* z (- t a)))
159.0ms
(/ (fma (- b y) z y) (fma x y (* z (- t a))))

simplify74.0ms

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05201776
121461503
250011426

prune454.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 9.7b

regimes599.0ms

Accuracy

25.7% (9.1b remaining)

Error of 20.0b against oracle of 10.9b and baseline of 23.1b

bsearch226.0ms

Steps
ItersRangePoint
8
6.573114990353364e+143
1.8305461003977325e+147
1.2504401644554392e+144
7
6.304040304238585e-244
5.231673809435745e-242
6.448648093686567e-244
9
-1.2356307952735333e-300
-3.8488857116735985e-306
-3.533788581774126e-305
6
-1.4396773096708945e+78
-3.2980394925689044e+77
-1.4242621929487041e+78

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03825
14425
24425

end0.0ms

sample672.0ms

Algorithm
intervals
Results
375.0ms8454×body80valid