Details

Time bar (total: 12.0s)

sample29.0ms

Algorithm
intervals
Results
8.0ms253×body80valid
2.0ms15×body1280valid
2.0ms14×body640valid
1.0ms14×body320valid
0.0msbody160valid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0236
1465
21285
33625
410245
522965
650015

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 15.2b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- t x) (- a z))
15.2b
(fma (- y z) (/ (- t x) (- a z)) x)

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt *-un-lft-identity
25×times-frac
14×add-cube-cbrt
12×distribute-lft-out-- difference-of-squares
associate-/r* associate-/l*
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u flip3-- associate-/r/ flip-- log1p-expm1-u associate-/l/ add-log-exp
cbrt-undiv frac-2neg div-sub div-exp clear-num fma-udef div-inv
Counts
2 → 64
Calls
2 calls:
23.0ms
(/ (- t x) (- a z))
0.0ms
(fma (- y z) (/ (- t x) (- a z)) x)

series131.0ms

Counts
2 → 6
Calls
2 calls:
48.0ms
(/ (- t x) (- a z))
83.0ms
(fma (- y z) (/ (- t x) (- a z)) x)

simplify59.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (52.0ms)

IterNodesCost
0268450
1733425
22490423
35001421

prune202.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 6.1b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- t x) (- a z))
3.3b
(+ (* (- y z) (/ (- t x) (- a z))) x)
5.8b
(* (- y z) (/ (- t x) (- a z)))

rewrite113.0ms

Algorithm
rewrite-expression-head
Rules
78×add-sqr-sqrt
73×*-un-lft-identity
51×times-frac
31×associate-*r*
27×add-cube-cbrt
23×distribute-lft-out-- difference-of-squares
10×add-exp-log add-cbrt-cube
pow1 flip3-- associate-*l* associate-/r* flip-- associate-/l* add-log-exp
associate-/r/
expm1-log1p-u log1p-expm1-u
cbrt-undiv frac-times div-exp associate-*l/ prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
+-commutative fma-def frac-2neg flip3-+ div-sub associate-*r/ pow-prod-down clear-num sum-log *-commutative flip-+
Counts
3 → 126
Calls
3 calls:
23.0ms
(/ (- t x) (- a z))
24.0ms
(+ (* (- y z) (/ (- t x) (- a z))) x)
59.0ms
(* (- y z) (/ (- t x) (- a z)))

series303.0ms

Counts
3 → 9
Calls
3 calls:
48.0ms
(/ (- t x) (- a z))
135.0ms
(+ (* (- y z) (/ (- t x) (- a z))) x)
120.0ms
(* (- y z) (/ (- t x) (- a z)))

simplify56.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0489904
12048854
25001852

prune334.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 3.5b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ t (- a z))
0.2b
(- (/ t (- a z)) (/ x (- a z)))
3.3b
(+ (* (- y z) (- (/ t (- a z)) (/ x (- a z)))) x)
5.8b
(* (- y z) (- (/ t (- a z)) (/ x (- a z))))

rewrite982.0ms

Algorithm
rewrite-expression-head
Rules
3247×*-un-lft-identity
3229×add-sqr-sqrt
3216×times-frac
2205×prod-diff
1919×add-cube-cbrt
886×distribute-rgt-in associate-+l+ distribute-lft-in
662×distribute-lft-out--
650×difference-of-squares
432×associate-/r/
225×flip3-- flip--
216×div-inv
21×fma-neg
18×associate-*r*
add-exp-log frac-times add-cbrt-cube add-log-exp
pow1 distribute-rgt-out--
sub-neg associate-*l* associate-/r*
expm1-log1p-u associate-*r/ frac-sub log1p-expm1-u sub-div
associate-/l*
associate-*l/
cbrt-undiv +-commutative fma-def frac-2neg flip3-+ diff-log div-exp pow-prod-down prod-exp clear-num sum-log *-commutative cbrt-unprod flip-+ unswap-sqr
Counts
4 → 2369
Calls
4 calls:
11.0ms
(/ t (- a z))
108.0ms
(- (/ t (- a z)) (/ x (- a z)))
218.0ms
(+ (* (- y z) (- (/ t (- a z)) (/ x (- a z)))) x)
330.0ms
(* (- y z) (- (/ t (- a z)) (/ x (- a z))))

series435.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(/ t (- a z))
103.0ms
(- (/ t (- a z)) (/ x (- a z)))
146.0ms
(+ (* (- y z) (- (/ t (- a z)) (/ x (- a z)))) x)
160.0ms
(* (- y z) (- (/ t (- a z)) (/ x (- a z))))

simplify548.0ms

Algorithm
egg-herbie
Counts
2381 → 2381
Iterations

Useful iterations: 1 (46.0ms)

IterNodesCost
0227966055
1500259685

prune6.3s

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 3.5b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite124.0ms

Algorithm
rewrite-expression-head
Rules
102×add-sqr-sqrt
97×*-un-lft-identity
51×add-cube-cbrt times-frac
36×prod-diff
31×associate-*l*
23×distribute-lft-out-- difference-of-squares
22×distribute-rgt-in associate-+l+ distribute-lft-in
10×add-exp-log add-cbrt-cube
pow1 flip3-- associate-*r* associate-/r* flip-- associate-/l* add-log-exp
sub-neg associate-/r/
expm1-log1p-u log1p-expm1-u
cbrt-undiv frac-times associate-*r/ div-exp prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
+-commutative fma-def frac-2neg flip3-+ div-sub pow-prod-down associate-*l/ clear-num sum-log *-commutative flip-+
Counts
3 → 170
Calls
3 calls:
23.0ms
(/ (- y z) (- a z))
62.0ms
(* (/ (- y z) (- a z)) (- t x))
32.0ms
(+ (* (/ (- y z) (- a z)) (- t x)) x)

series720.0ms

Counts
3 → 9
Calls
3 calls:
255.0ms
(/ (- y z) (- a z))
279.0ms
(* (/ (- y z) (- a z)) (- t x))
186.0ms
(+ (* (/ (- y z) (- a z)) (- t x)) x)

simplify71.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
06821497
126571254
250021252

prune390.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 3.4b

regimes259.0ms

Accuracy

8.8% (4.0b remaining)

Error of 7.1b against oracle of 3.2b and baseline of 7.5b

bsearch68.0ms

Steps
ItersRangePoint
4
2.3952310285012394e-181
3.973711067844833e-181
2.6294748287660376e-181
9
-1.9829183326978805e-199
-5.946979300064839e-206
-2.954199409932442e-204

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02714
12714

end0.0ms

sample760.0ms

Algorithm
intervals
Results
242.0ms7687×body80valid
56.0ms494×body640valid
40.0ms290×body1280valid
35.0ms425×body320valid
14.0ms258×body160valid
2.0msbody2560valid