Details

Time bar (total: 7.8s)

sample44.0ms

Algorithm
intervals
Results
29.0ms262×body80valid

simplify146.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

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 18.6b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (* z (- b y)))
0.0b
(* z (- t a))
0.7b
(+ (* x y) (* z (- t a)))
18.0b
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

rewrite52.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:
6.0ms
(+ y (* z (- b y)))
17.0ms
(* z (- t a))
7.0ms
(+ (* x y) (* z (- t a)))
14.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

series490.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(+ y (* z (- b y)))
38.0ms
(* z (- t a))
51.0ms
(+ (* x y) (* z (- t a)))
365.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

simplify84.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
06081288
12360956
25001942

prune562.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 18.0b

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
27×*-un-lft-identity
25×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 associate-*l* associate-/r* log1p-expm1-u associate-/l* add-log-exp
sub-neg associate-*r/
cbrt-undiv flip3-- frac-2neg div-exp pow-prod-down prod-exp clear-num *-commutative flip-- cbrt-unprod fma-udef div-inv distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 85
Calls
3 calls:
13.0ms
(* z (- t a))
0.0ms
(fma x y (* z (- t a)))
3.0ms
(/ (fma x y (* z (- t a))) (fma (- b y) z y))

series461.0ms

Counts
3 → 9
Calls
3 calls:
40.0ms
(* z (- t a))
57.0ms
(fma x y (* z (- t a)))
365.0ms
(/ (fma x y (* z (- t a))) (fma (- b y) z y))

simplify159.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0291724
11049551
24904521
35001521

prune308.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 18.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* z (- t a))
0.7b
(+ (* x y) (* z (- t a)))
1.0b
(/ 1 (fma (- b y) z y))
17.7b
(* (+ (* x y) (* z (- t a))) (/ 1 (fma (- b y) z y)))

rewrite49.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
19×add-exp-log
18×associate-*r*
13×add-cbrt-cube
pow1
associate-*l* add-log-exp
prod-exp
expm1-log1p-u sub-neg div-exp log1p-expm1-u unswap-sqr
flip3-+ associate-*r/ associate-/r* cbrt-unprod flip-+ 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 → 157
Calls
4 calls:
13.0ms
(* z (- t a))
11.0ms
(+ (* x y) (* z (- t a)))
2.0ms
(/ 1 (fma (- b y) z y))
16.0ms
(* (+ (* x y) (* z (- t a))) (/ 1 (fma (- b y) z y)))

series793.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(* z (- t a))
49.0ms
(+ (* x y) (* z (- t a)))
102.0ms
(/ 1 (fma (- b y) z y))
603.0ms
(* (+ (* x y) (* z (- t a))) (/ 1 (fma (- b y) z y)))

simplify81.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
05331248
12155961
25001930

prune504.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 18.0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.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:
16.0ms
(* z (- t a))
6.0ms
(/ 1 (/ (fma (- b y) z y) (fma x y (* z (- t a)))))
0.0ms
(fma x y (* z (- t a)))
3.0ms
(/ (fma (- b y) z y) (fma x y (* z (- t a))))

series1.5s

Counts
4 → 12
Calls
4 calls:
43.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)))
169.0ms
(/ (fma (- b y) z y) (fma x y (* z (- t a))))

simplify80.0ms

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
05201776
121461503
250011426

prune455.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 7.6b

regimes496.0ms

Accuracy

27.3% (8.9b remaining)

Error of 19.5b against oracle of 10.6b and baseline of 22.8b

bsearch148.0ms

Steps
ItersRangePoint
10
2.4429956359950786e+238
5.483858331996701e+255
3.1319354597313615e+239
8
-6.876743365716922e+163
-1.1617128053451152e+159
-1.624786847613654e+159

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03512
13712
23712

end0.0ms

sample1.3s

Algorithm
intervals
Results
945.0ms8405×body80valid