Details

Time bar (total: 3.1s)

sample17.0ms

Algorithm
intervals
Results
5.0ms204×body80valid
1.0ms18×body640valid
1.0ms18×body320valid
1.0msbody1280valid
0.0msbody160valid

simplify67.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0165
1355
2745
31285
42525
53745
65145
76425
87775
910105
1016865
1150015

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 20.0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- 1.0 x) y)
2.3b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
7.3b
(/ (* (- 1.0 x) y) (+ y 1.0))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
13×add-sqr-sqrt
10×add-exp-log add-cbrt-cube
add-cube-cbrt
pow1 associate-*l* add-log-exp
times-frac associate-*l/ associate-/r*
flip3-- associate-*r* flip--
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod associate-/l/ distribute-lft-out distribute-lft-out-- difference-of-squares
sub-neg frac-2neg flip3-+ diff-log pow-prod-down clear-num *-commutative flip-+ div-inv associate-/l* unswap-sqr
Counts
3 → 63
Calls
3 calls:
23.0ms
(* (- 1.0 x) y)
17.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
22.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

series126.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(* (- 1.0 x) y)
61.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
39.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

simplify47.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0338401
11456359
25001359

prune137.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ y (+ y 1.0))
0.0b
(* (- 1.0 x) (/ y (+ y 1.0)))
2.3b
(- 1.0 (* (- 1.0 x) (/ y (+ y 1.0))))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity
28×add-sqr-sqrt
25×times-frac
21×add-cube-cbrt
18×associate-*r*
10×add-exp-log add-cbrt-cube
distribute-lft-out
pow1 associate-*l* add-log-exp
associate-/r* associate-/r/
flip3-- flip-- associate-/l*
cbrt-undiv frac-times flip3-+ div-exp associate-*l/ prod-exp cbrt-unprod flip-+ div-inv unswap-sqr
sub-neg frac-2neg diff-log associate-*r/ pow-prod-down clear-num *-commutative distribute-lft-out-- difference-of-squares
Counts
3 → 88
Calls
3 calls:
11.0ms
(/ y (+ y 1.0))
41.0ms
(* (- 1.0 x) (/ y (+ y 1.0)))
6.0ms
(- 1.0 (* (- 1.0 x) (/ y (+ y 1.0))))

series133.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(/ y (+ y 1.0))
38.0ms
(* (- 1.0 x) (/ y (+ y 1.0)))
62.0ms
(- 1.0 (* (- 1.0 x) (/ y (+ y 1.0))))

simplify55.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0400572
11790526
25002526

prune173.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* (- 1.0 x) (/ y (- (* y y) (* 1.0 1.0)))) (- y 1.0))
0.1b
(* (- 1.0 x) (/ y (- (* y y) (* 1.0 1.0))))
3.8b
(- 1.0 (* (* (- 1.0 x) (/ y (- (* y y) (* 1.0 1.0)))) (- y 1.0)))
12.2b
(/ y (- (* y y) (* 1.0 1.0)))

rewrite148.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
27×*-un-lft-identity
25×times-frac
23×add-cube-cbrt associate-*r*
20×add-exp-log add-cbrt-cube
18×frac-times
17×flip3-- flip--
13×associate-*l/
11×pow1
difference-of-squares
prod-exp cbrt-unprod
associate-*r/ associate-*l* add-log-exp
sub-neg
distribute-rgt-in distribute-lft-in pow-prod-down associate-/r* associate-/r/ associate--r+
cbrt-undiv div-exp associate-/l*
*-commutative div-inv distribute-lft-out-- unswap-sqr
frac-2neg diff-log clear-num
Counts
4 → 135
Calls
4 calls:
76.0ms
(* (* (- 1.0 x) (/ y (- (* y y) (* 1.0 1.0)))) (- y 1.0))
47.0ms
(* (- 1.0 x) (/ y (- (* y y) (* 1.0 1.0))))
6.0ms
(- 1.0 (* (* (- 1.0 x) (/ y (- (* y y) (* 1.0 1.0)))) (- y 1.0)))
15.0ms
(/ y (- (* y y) (* 1.0 1.0)))

series344.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(* (* (- 1.0 x) (/ y (- (* y y) (* 1.0 1.0)))) (- y 1.0))
78.0ms
(* (- 1.0 x) (/ y (- (* y y) (* 1.0 1.0))))
134.0ms
(- 1.0 (* (* (- 1.0 x) (/ y (- (* y y) (* 1.0 1.0)))) (- y 1.0)))
62.0ms
(/ y (- (* y y) (* 1.0 1.0)))

simplify104.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
07141438
138671306
250011304

prune301.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(* y (* (- 1.0 x) (/ y (- (* y y) (* 1.0 1.0)))))
3.3b
(- 1.0 (* y (* (- 1.0 x) (/ y (- (* y y) (* 1.0 1.0))))))
12.2b
(/ y (- (* y y) (* 1.0 1.0)))
12.2b
(/ y (- (* y y) (* 1.0 1.0)))

rewrite87.0ms

Algorithm
rewrite-expression-head
Rules
24×times-frac
23×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
17×add-exp-log add-cbrt-cube
pow1
associate-/r* difference-of-squares
associate-*r/ associate-/l* add-log-exp
flip3-- prod-exp flip-- cbrt-unprod
associate-/r/
cbrt-undiv div-exp associate-*l* pow-prod-down
frac-times frac-2neg associate-*l/ clear-num div-inv
sub-neg diff-log associate-*r* *-commutative
Counts
4 → 103
Calls
4 calls:
51.0ms
(* y (* (- 1.0 x) (/ y (- (* y y) (* 1.0 1.0)))))
6.0ms
(- 1.0 (* y (* (- 1.0 x) (/ y (- (* y y) (* 1.0 1.0))))))
15.0ms
(/ y (- (* y y) (* 1.0 1.0)))
12.0ms
(/ y (- (* y y) (* 1.0 1.0)))

series257.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(* y (* (- 1.0 x) (/ y (- (* y y) (* 1.0 1.0)))))
90.0ms
(- 1.0 (* y (* (- 1.0 x) (/ y (- (* y y) (* 1.0 1.0))))))
62.0ms
(/ y (- (* y y) (* 1.0 1.0)))
59.0ms
(/ y (- (* y y) (* 1.0 1.0)))

simplify58.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0421980
11913882
25002876

prune282.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes93.0ms

Accuracy

99.9% (0.0b remaining)

Error of 0.2b against oracle of 0.2b and baseline of 14.7b

bsearch82.0ms

Steps
ItersRangePoint
10
621.2962050125454
2.983864905276105e+17
94033634.61522557
9
-2056744483493.3628
-598248.8181308185
-132294310.4631039

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03822
14222
24922
35122
45122

end0.0ms

sample462.0ms

Algorithm
intervals
Results
143.0ms6055×body80valid
61.0ms760×body640valid
41.0ms381×body1280valid
34.0ms519×body320valid
12.0ms285×body160valid