Details

Time bar (total: 4.1s)

sample20.0ms

Algorithm
intervals
Results
9.0ms286×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.1b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite32.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))))
11.0ms
(/ (- z t) (- z a))
13.0ms
(* y (/ (- z t) (- z a)))

series178.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0423747
11655704
25001704

prune266.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
392×times-frac
336×add-sqr-sqrt
324×*-un-lft-identity
158×add-cube-cbrt
98×associate-*r*
82×distribute-lft-out-- difference-of-squares
36×add-exp-log associate-/r*
20×add-cbrt-cube
18×associate-/r/
15×div-exp
10×div-inv
flip3-- flip--
associate-/l*
pow1 cbrt-undiv prod-exp
add-log-exp
unswap-sqr
rec-exp 1-exp
associate-*l* cbrt-unprod
frac-2neg clear-num associate-/l/
+-commutative pow-flip flip3-+ div-sub associate-*r/ pow-prod-down sum-log un-div-inv *-commutative flip-+ inv-pow
Counts
4 → 338
Calls
4 calls:
2.0ms
(+ x (* y (/ 1 (/ (- z a) (- z t)))))
8.0ms
(/ (- z a) (- z t))
12.0ms
(/ 1 (/ (- z a) (- z t)))
32.0ms
(* y (/ 1 (/ (- z a) (- z t))))

series324.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(+ x (* y (/ 1 (/ (- z a) (- z t)))))
45.0ms
(/ (- z a) (- z t))
90.0ms
(/ 1 (/ (- z a) (- z t)))
112.0ms
(* y (/ 1 (/ (- z a) (- z t))))

simplify112.0ms

Algorithm
egg-herbie
Counts
350 → 350
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
09542833
147752544
250022258

prune642.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
218×times-frac
196×*-un-lft-identity
195×add-sqr-sqrt
91×add-cube-cbrt
52×distribute-lft-out-- difference-of-squares
36×associate-/r*
11×associate-/r/
10×add-exp-log add-cbrt-cube
associate-/l*
flip3-- flip-- div-inv
add-log-exp
cbrt-undiv div-exp
pow1
frac-2neg clear-num associate-/l/
+-commutative flip3-+ div-sub sum-log flip-+ distribute-lft-out
Counts
3 → 206
Calls
3 calls:
2.0ms
(+ x (* 1 (/ y (/ (- z a) (- z t)))))
8.0ms
(/ (- z a) (- z t))
11.0ms
(/ y (/ (- z a) (- z t)))

series244.0ms

Counts
3 → 9
Calls
3 calls:
77.0ms
(+ x (* 1 (/ y (/ (- z a) (- z t)))))
54.0ms
(/ (- z a) (- z t))
113.0ms
(/ y (/ (- z a) (- z t)))

simplify82.0ms

Algorithm
egg-herbie
Counts
215 → 215
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
07191900
132191841
250011839

prune504.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt
42×*-un-lft-identity
32×add-exp-log times-frac
25×add-cube-cbrt
24×associate-*l*
20×add-cbrt-cube
18×distribute-rgt-in distribute-lft-in
13×prod-exp
12×pow1
10×sub-neg
associate-*r/
associate-+r+ distribute-lft-out-- difference-of-squares
cbrt-unprod
flip3-- div-exp associate-*r* flip-- add-log-exp
associate-/r*
frac-times pow-prod-down associate-/r/
cbrt-undiv rec-exp 1-exp associate-/l* unswap-sqr
associate-*l/ *-commutative div-inv
+-commutative pow-flip frac-2neg flip3-+ clear-num sum-log flip-+ inv-pow
Counts
4 → 148
Calls
4 calls:
4.0ms
(+ x (* y (* (/ 1 (- z a)) (- z t))))
5.0ms
(/ 1 (- z a))
12.0ms
(* (/ 1 (- z a)) (- z t))
17.0ms
(* y (* (/ 1 (- z a)) (- z t)))

series328.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(+ x (* y (* (/ 1 (- z a)) (- z t))))
40.0ms
(/ 1 (- z a))
94.0ms
(* (/ 1 (- z a)) (- z t))
114.0ms
(* y (* (/ 1 (- z a)) (- z t)))

simplify55.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0525917
12273786
25003750

prune299.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes130.0ms

Accuracy

68% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 1.1b

bsearch83.0ms

Steps
ItersRangePoint
9
7.159468409190795e-10
2.601825945442334
0.04300903246507352
9
-3.8377204485276054e-63
-6.676316481220028e-69
-4.428663612682955e-64

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03011
13211
23211

end0.0ms

sample511.0ms

Algorithm
intervals
Results
271.0ms8706×body80valid
0.0msbody1280valid
0.0msbody640valid