Details

Time bar (total: 3.8s)

sample20.0ms

Algorithm
intervals
Results
8.0ms346×body80valid

simplify110.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0144
1254
2454
3844
41254
51494
61704
72844
84914
98244
1013444
1125764
1238734
1350014

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 7.5b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite22.0ms

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

series122.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(* y (- z x))
35.0ms
(+ x (/ (* y (- z x)) t))
50.0ms
(/ (* y (- z x)) t)

simplify42.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0290325
11223280
25001280

prune138.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ t (- z x))
0.0b
(+ x (/ y (/ t (- z x))))
6.8b
(/ y (/ t (- z x)))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
138×times-frac
105×*-un-lft-identity
103×add-sqr-sqrt
71×add-cube-cbrt
26×associate-/r*
16×distribute-lft-out-- difference-of-squares
11×associate-/r/
10×add-exp-log add-cbrt-cube
div-inv associate-/l*
flip3-- flip-- add-log-exp
cbrt-undiv div-exp
pow1
frac-2neg clear-num
+-commutative flip3-+ sum-log flip-+ distribute-lft-out
Counts
3 → 151
Calls
3 calls:
5.0ms
(/ t (- z x))
28.0ms
(+ x (/ y (/ t (- z x))))
12.0ms
(/ y (/ t (- z x)))

series123.0ms

Counts
3 → 9
Calls
3 calls:
31.0ms
(/ t (- z x))
35.0ms
(+ x (/ y (/ t (- z x))))
57.0ms
(/ y (/ t (- z x)))

simplify69.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05391150
123681110
250011107

prune373.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
13×associate-*l*
12×*-un-lft-identity
10×add-cube-cbrt times-frac
add-exp-log add-cbrt-cube
associate-*r*
pow1 distribute-rgt-in sub-neg associate-+r+ distribute-lft-in add-log-exp
frac-times flip3-- associate-*r/ prod-exp flip-- cbrt-unprod unswap-sqr
cbrt-undiv +-commutative flip3-+ div-exp pow-prod-down associate-*l/ sum-log *-commutative flip-+ div-inv distribute-lft-out-- difference-of-squares
Counts
2 → 57
Calls
2 calls:
3.0ms
(+ x (* (/ y t) (- z x)))
15.0ms
(* (/ y t) (- z x))

series91.0ms

Counts
2 → 6
Calls
2 calls:
34.0ms
(+ x (* (/ y t) (- z x)))
56.0ms
(* (/ y t) (- z x))

simplify41.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0315335
11214299
25002299

prune131.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (- z x))
0.6b
(cbrt (- z x))
1.7b
(/ y (/ t (cbrt (- z x))))
3.7b
(* (* (cbrt (- z x)) (cbrt (- z x))) (/ y (/ t (cbrt (- z x)))))

rewrite107.0ms

Algorithm
rewrite-expression-head
Rules
353×times-frac
228×add-sqr-sqrt
219×*-un-lft-identity
173×add-cube-cbrt
116×cbrt-prod
95×associate-*r*
42×cbrt-div
30×add-exp-log associate-/r*
23×distribute-lft-out-- difference-of-squares
21×flip3-- add-cbrt-cube flip--
16×frac-times associate-/r/
12×associate-*l/
pow1 cbrt-undiv div-exp prod-exp cbrt-unprod div-inv
associate-*r/
add-log-exp unswap-sqr
pow-prod-down associate-/l*
pow1/3
frac-2neg associate-*l* clear-num *-commutative
Counts
4 → 307
Calls
4 calls:
2.0ms
(cbrt (- z x))
2.0ms
(cbrt (- z x))
11.0ms
(/ y (/ t (cbrt (- z x))))
70.0ms
(* (* (cbrt (- z x)) (cbrt (- z x))) (/ y (/ t (cbrt (- z x)))))

series453.0ms

Counts
4 → 12
Calls
4 calls:
148.0ms
(cbrt (- z x))
155.0ms
(cbrt (- z x))
100.0ms
(/ y (/ t (cbrt (- z x))))
50.0ms
(* (* (cbrt (- z x)) (cbrt (- z x))) (/ y (/ t (cbrt (- z x)))))

simplify76.0ms

Algorithm
egg-herbie
Counts
319 → 319
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
013523576
150013427

prune1.0s

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

regimes147.0ms

Accuracy

9.4% (1.9b remaining)

Error of 1.9b against oracle of 0.0b and baseline of 2.1b

bsearch79.0ms

Steps
ItersRangePoint
9
1.4586609623162968e-94
2.4126595910154527e-89
9.10716533387276e-93
8
-1.7591696980547143e-99
-2.0493640758002305e-103
-2.0778965796828648e-103

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03214
13214

end0.0ms

sample543.0ms

Algorithm
intervals
Results
278.0ms10701×body80valid