Details

Time bar (total: 4.5s)

sample21.0ms

Algorithm
intervals
Results
9.0ms263×body80valid

simplify41.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0238
1358
2608
31038
41838
54168
611948
750018

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 6.1b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* y z) x)
0.0b
(+ x (/ (- (* y z) x) (- (* t z) x)))
0.5b
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
9.1b
(/ (- (* y z) x) (- (* t z) x))

rewrite202.0ms

Algorithm
rewrite-expression-head
Rules
44×*-un-lft-identity
25×times-frac
22×add-sqr-sqrt add-cube-cbrt
11×distribute-lft-out
add-exp-log add-cbrt-cube add-log-exp
associate-/r* associate-/l*
pow1 div-sub associate-/r/ associate-/l/
flip3-- flip3-+ flip-- flip-+
cbrt-undiv associate-+r- frac-2neg div-exp clear-num div-inv
+-commutative sub-neg diff-log sum-log
Counts
4 → 98
Calls
4 calls:
8.0ms
(- (* y z) x)
38.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
125.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
28.0ms
(/ (- (* y z) x) (- (* t z) x))

series247.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(- (* y z) x)
71.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
106.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
48.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify49.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04001011
11421948
25001947

prune274.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.5b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (/ x (- (* t z) x)) (+ x 1.0))
0.5b
(/ (+ x (/ (* y z) (- (* t z) x))) (+ x 1.0))
4.4b
(/ x (- (* t z) x))
10.4b
(/ (* y z) (- (* t z) x))

rewrite169.0ms

Algorithm
rewrite-expression-head
Rules
133×times-frac
127×*-un-lft-identity
75×add-sqr-sqrt add-cube-cbrt
26×distribute-lft-out
23×associate-/l*
18×add-exp-log associate-/r/ add-cbrt-cube
14×associate-/r*
div-inv
cbrt-undiv flip3-- div-exp flip--
pow1 frac-2neg clear-num add-log-exp
flip3-+ flip-+ associate-/l/
prod-exp cbrt-unprod
Counts
4 → 188
Calls
4 calls:
35.0ms
(/ (/ x (- (* t z) x)) (+ x 1.0))
91.0ms
(/ (+ x (/ (* y z) (- (* t z) x))) (+ x 1.0))
16.0ms
(/ x (- (* t z) x))
19.0ms
(/ (* y z) (- (* t z) x))

series242.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(/ (/ x (- (* t z) x)) (+ x 1.0))
74.0ms
(/ (+ x (/ (* y z) (- (* t z) x))) (+ x 1.0))
53.0ms
(/ x (- (* t z) x))
30.0ms
(/ (* y z) (- (* t z) x))

simplify74.0ms

Algorithm
egg-herbie
Counts
200 → 200
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
07001899
130221792
250011792

prune495.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.5b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (* (- (* y z) x) (/ 1 (- (* t z) x))))
0.5b
(/ (+ x (* (- (* y z) x) (/ 1 (- (* t z) x)))) (+ x 1.0))
0.7b
(/ 1 (- (* t z) x))
8.7b
(* (- (* y z) x) (/ 1 (- (* t z) x)))

rewrite123.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
36×add-sqr-sqrt
32×times-frac
29×add-cube-cbrt
19×add-exp-log
15×associate-*r*
13×add-cbrt-cube
pow1 associate-/r*
associate-/r/ associate-/l* add-log-exp
div-exp
flip3-- prod-exp flip-- distribute-lft-out
cbrt-undiv flip3-+ associate-*l* flip-+ div-inv unswap-sqr
frac-times rec-exp frac-2neg 1-exp associate-*l/ clear-num cbrt-unprod associate-/l/
+-commutative pow-flip associate-*r/ pow-prod-down sum-log un-div-inv *-commutative inv-pow
Counts
4 → 121
Calls
4 calls:
7.0ms
(+ x (* (- (* y z) x) (/ 1 (- (* t z) x))))
33.0ms
(/ (+ x (* (- (* y z) x) (/ 1 (- (* t z) x)))) (+ x 1.0))
17.0ms
(/ 1 (- (* t z) x))
62.0ms
(* (- (* y z) x) (/ 1 (- (* t z) x)))

series257.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(+ x (* (- (* y z) x) (/ 1 (- (* t z) x))))
106.0ms
(/ (+ x (* (- (* y z) x) (/ 1 (- (* t z) x)))) (+ x 1.0))
25.0ms
(/ 1 (- (* t z) x))
51.0ms
(* (- (* y z) x) (/ 1 (- (* t z) x)))

simplify59.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04691203
121141077
250021046

prune291.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.5b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (/ (- (* y z) x) (- (* t z) x)))
0.1b
(/ 1 (/ (+ x 1.0) (+ x (/ (- (* y z) x) (- (* t z) x)))))
0.6b
(/ (+ x 1.0) (+ x (/ (- (* y z) x) (- (* t z) x))))
9.1b
(/ (- (* y z) x) (- (* t z) x))

rewrite257.0ms

Algorithm
rewrite-expression-head
Rules
167×*-un-lft-identity
155×times-frac
81×add-sqr-sqrt add-cube-cbrt
43×distribute-lft-out
29×associate-/r*
19×add-exp-log
13×associate-/r/ add-cbrt-cube
10×associate-/l*
div-exp
flip3-+ flip-+ div-inv
add-log-exp
pow1 cbrt-undiv
associate-/l/
frac-2neg clear-num
rec-exp flip3-- 1-exp div-sub flip--
+-commutative associate-+r- pow-flip sum-log inv-pow
Counts
4 → 197
Calls
4 calls:
39.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
88.0ms
(/ 1 (/ (+ x 1.0) (+ x (/ (- (* y z) x) (- (* t z) x)))))
92.0ms
(/ (+ x 1.0) (+ x (/ (- (* y z) x) (- (* t z) x))))
29.0ms
(/ (- (* y z) x) (- (* t z) x))

series344.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
107.0ms
(/ 1 (/ (+ x 1.0) (+ x (/ (- (* y z) x) (- (* t z) x)))))
111.0ms
(/ (+ x 1.0) (+ x (/ (- (* y z) x) (- (* t z) x))))
51.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify80.0ms

Algorithm
egg-herbie
Counts
209 → 209
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
06222772
128662557
250022436

prune353.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.5b

regimes162.0ms

Accuracy

62.6% (2.5b remaining)

Error of 3.3b against oracle of 0.8b and baseline of 7.4b

bsearch77.0ms

Steps
ItersRangePoint
7
8.347029263518638e+138
1.3127580858523293e+141
3.00238214613509e+139
9
-2.2113109892423218e+143
-3.306554683282026e+138
-2.990792327798766e+139

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03513
13513

end0.0ms

sample602.0ms

Algorithm
intervals
Results
309.0ms8333×body80valid