Details

Time bar (total: 4.0s)

sample19.0ms

Algorithm
intervals
Results
8.0ms280×body80valid

simplify55.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0215
1355
2565
3945
41505
51855
62035
72305
82805
93685
104575
117235
129225
1310385
1410605
1510605

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.3b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
76×add-sqr-sqrt
71×*-un-lft-identity
51×times-frac
31×associate-*r*
27×add-cube-cbrt
22×distribute-lft-out-- difference-of-squares
10×add-exp-log add-cbrt-cube
pow1 associate-/r* associate-/l* add-log-exp
associate-/r/
flip3-- associate-*l* flip--
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
+-commutative frac-2neg flip3-+ div-sub associate-*r/ pow-prod-down clear-num sum-log *-commutative flip-+
Counts
3 → 113
Calls
3 calls:
3.0ms
(+ x (* y (/ (- z t) (- z a))))
10.0ms
(/ (- z t) (- z a))
13.0ms
(* y (/ (- z t) (- z a)))

series177.0ms

Counts
3 → 9
Calls
3 calls:
72.0ms
(+ x (* y (/ (- z t) (- z a))))
44.0ms
(/ (- z t) (- z a))
61.0ms
(* y (/ (- z t) (- z a)))

simplify46.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0423747
11655704
25001704

prune264.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
80×*-un-lft-identity
62×add-sqr-sqrt
51×times-frac
28×distribute-lft-out--
20×add-cube-cbrt
18×associate-*r*
16×difference-of-squares
10×associate-/r/
add-exp-log add-cbrt-cube add-log-exp
flip3-- flip--
pow1 distribute-rgt-out--
sub-neg associate-/r* div-inv
distribute-rgt-in associate-+r+ distribute-lft-in associate-*r/
associate-*l* associate-/l*
frac-sub sub-div
cbrt-undiv +-commutative frac-2neg flip3-+ diff-log div-exp pow-prod-down prod-exp clear-num sum-log *-commutative cbrt-unprod flip-+ unswap-sqr
Counts
4 → 122
Calls
4 calls:
6.0ms
(+ x (* y (- (/ z (- z a)) (/ t (- z a)))))
5.0ms
(/ z (- z a))
25.0ms
(- (/ z (- z a)) (/ t (- z a)))
32.0ms
(* y (- (/ z (- z a)) (/ t (- z a))))

series359.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(+ x (* y (- (/ z (- z a)) (/ t (- z a)))))
44.0ms
(/ z (- z a))
105.0ms
(- (/ z (- z a)) (/ t (- z a)))
131.0ms
(* y (- (/ z (- z a)) (/ t (- z a))))

simplify52.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0443851
11621804
25001804

prune312.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
0.6b
(cbrt y)
1.0b
(* (* (cbrt y) (cbrt y)) (* (cbrt y) (- (/ z (- z a)) (/ t (- z a)))))
1.6b
(* (cbrt y) (- (/ z (- z a)) (/ t (- z a))))

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity
31×add-sqr-sqrt
19×associate-*r*
18×pow1 add-exp-log times-frac
12×associate-*r/ distribute-lft-out--
11×add-cube-cbrt add-cbrt-cube
10×cbrt-prod distribute-rgt-in distribute-lft-in
pow-prod-down prod-exp cbrt-unprod
associate-*l*
sub-neg difference-of-squares
flip3-- associate-/r/ flip-- add-log-exp
distribute-rgt-out--
pow1/3 *-commutative frac-sub div-inv sub-div unswap-sqr
Counts
4 → 101
Calls
4 calls:
1.0ms
(cbrt y)
1.0ms
(cbrt y)
34.0ms
(* (* (cbrt y) (cbrt y)) (* (cbrt y) (- (/ z (- z a)) (/ t (- z a)))))
35.0ms
(* (cbrt y) (- (/ z (- z a)) (/ t (- z a))))

series907.0ms

Counts
4 → 12
Calls
4 calls:
169.0ms
(cbrt y)
170.0ms
(cbrt y)
155.0ms
(* (* (cbrt y) (cbrt y)) (* (cbrt y) (- (/ z (- z a)) (/ t (- z a)))))
413.0ms
(* (cbrt y) (- (/ z (- z a)) (/ t (- z a))))

simplify62.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0390958
11897756
25001683

prune268.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt
39×*-un-lft-identity
31×times-frac
23×add-cube-cbrt
21×associate-*l*
10×add-exp-log add-cbrt-cube
distribute-lft-out-- difference-of-squares
pow1 associate-*r* associate-/r* add-log-exp
distribute-rgt-in sub-neg associate-+r+ flip3-- distribute-lft-in associate-/r/ flip--
associate-/l*
cbrt-undiv frac-times associate-*r/ div-exp prod-exp cbrt-unprod div-inv unswap-sqr
+-commutative frac-2neg flip3-+ pow-prod-down associate-*l/ clear-num sum-log *-commutative flip-+
Counts
3 → 102
Calls
3 calls:
9.0ms
(/ y (- z a))
3.0ms
(+ x (* (/ y (- z a)) (- z t)))
11.0ms
(* (/ y (- z a)) (- z t))

series219.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(/ y (- z a))
79.0ms
(+ x (* (/ y (- z a)) (- z t)))
112.0ms
(* (/ y (- z a)) (- z t))

simplify49.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0416613
11659573
25001573

prune246.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes158.0ms

Accuracy

4.1% (1.4b remaining)

Error of 1.5b against oracle of 0.0b and baseline of 1.5b

bsearch40.0ms

Steps
ItersRangePoint
9
-2.0962738699868069e+111
-7.612407026220868e+102
-9.395656030011187e+105

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02212
12212

end0.0ms

sample507.0ms

Algorithm
intervals
Results
255.0ms8738×body80valid