Details

Time bar (total: 4.9s)

sample36.0ms

Algorithm
intervals
Results
7.0ms187×body80valid
7.0ms34×body1280valid
3.0ms127×body80nan
2.0ms16×body640valid
2.0ms15×body640nan
1.0msbody1280nan
1.0ms11×body320valid
1.0msbody160valid
1.0msbody320nan
0.0msbody160nan

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0196
1296
2416
3606
4786
5946
61096
71396
82146
92796
102796

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 17.2b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
0.0b
(/ (- x y) (- 1.0 y))
2.1b
(- 1.0 (/ (- x y) (- 1.0 y)))
2.8b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
59×add-sqr-sqrt
51×*-un-lft-identity
28×times-frac
19×difference-of-squares
18×add-cube-cbrt
17×distribute-lft-out--
12×log-prod
add-exp-log add-log-exp
pow1 flip3-- add-cbrt-cube flip-- associate--r+
associate-/r* associate-/l*
log-div
associate--r-
sub-neg diff-log div-sub associate-/r/ log-pow associate-/l/
cbrt-undiv frac-2neg div-exp rem-log-exp clear-num div-inv
Counts
4 → 108
Calls
4 calls:
20.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
10.0ms
(/ (- x y) (- 1.0 y))
20.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
18.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series261.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
36.0ms
(/ (- x y) (- 1.0 y))
52.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
83.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify49.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0488942
11388894
25001876

prune283.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
0.0b
(/ (- x y) (- 1.0 y))
0.2b
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
2.1b
(- 1.0 (/ (- x y) (- 1.0 y)))

rewrite94.0ms

Algorithm
rewrite-expression-head
Rules
101×add-sqr-sqrt
77×*-un-lft-identity
69×times-frac
37×add-cube-cbrt
28×difference-of-squares
24×log-prod
20×distribute-lft-out--
11×associate-/r*
add-exp-log
add-cbrt-cube associate-/l*
associate-/r/ add-log-exp
pow1 flip3-- flip--
div-exp div-inv
cbrt-undiv frac-2neg div-sub rem-log-exp clear-num associate-/l/
sub-neg log-div diff-log log-pow associate--r-
Counts
4 → 144
Calls
4 calls:
20.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
10.0ms
(/ (- x y) (- 1.0 y))
40.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
18.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

series383.0ms

Counts
4 → 12
Calls
4 calls:
166.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
36.0ms
(/ (- x y) (- 1.0 y))
126.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
54.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

simplify64.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
06211546
119741467
250011448

prune372.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (exp 1.0) (* (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))) (sqrt (- 1.0 (/ (- x y) (- 1.0 y))))))
0.2b
(* (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))) (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
2.1b
(- 1.0 (/ (- x y) (- 1.0 y)))
2.1b
(- 1.0 (/ (- x y) (- 1.0 y)))

rewrite237.0ms

Algorithm
rewrite-expression-head
Rules
56×add-sqr-sqrt
34×sqrt-prod
32×*-un-lft-identity
24×sqrt-div
19×pow1
14×add-cube-cbrt flip3-- flip--
13×swap-sqr
12×difference-of-squares
11×add-cbrt-cube
add-exp-log times-frac associate-*r* associate-*l*
frac-times sqrt-pow1 pow1/2 associate-/r/ distribute-lft-out-- add-log-exp
pow-prod-up
associate-*r/ associate-*l/ unswap-sqr
pow-prod-down pow-sqr associate-/l*
cbrt-undiv sub-neg diff-log div-sub div-exp prod-exp cbrt-unprod associate--r-
pow2 frac-2neg pow-plus sqrt-unprod clear-num associate-/r* rem-square-sqrt *-commutative div-inv
Counts
4 → 129
Calls
4 calls:
44.0ms
(/ (exp 1.0) (* (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))) (sqrt (- 1.0 (/ (- x y) (- 1.0 y))))))
150.0ms
(* (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))) (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
18.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
20.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

series277.0ms

Counts
4 → 12
Calls
4 calls:
122.0ms
(/ (exp 1.0) (* (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))) (sqrt (- 1.0 (/ (- x y) (- 1.0 y))))))
51.0ms
(* (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))) (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
50.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
54.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

simplify50.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03611458
113311278
250011252

prune317.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(cbrt (pow (- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y))))) 3))
0.3b
(pow (- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y))))) 3)
2.1b
(- 1.0 (/ (- x y) (- 1.0 y)))
2.8b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
27×*-un-lft-identity
18×cbrt-prod
12×unpow-prod-down cube-prod
11×add-cube-cbrt
10×pow1 distribute-lft-out--
difference-of-squares
add-exp-log log-prod add-log-exp
log-pow add-cbrt-cube
cube-div flip3-- flip--
pow-unpow
cube-mult log-div cbrt-div times-frac unpow3 sqr-pow
pow-to-exp sub-neg pow-pow pow1/3 diff-log div-sub rem-log-exp pow-exp rem-cbrt-cube associate--r- rem-cube-cbrt
Counts
4 → 93
Calls
4 calls:
5.0ms
(cbrt (pow (- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y))))) 3))
5.0ms
(pow (- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y))))) 3)
20.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
17.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series704.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(cbrt (pow (- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y))))) 3))
482.0ms
(pow (- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y))))) 3)
48.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
82.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify75.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
08051310
130451226
250011220

prune239.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes174.0ms

Accuracy

99.4% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 18.3b

bsearch90.0ms

Steps
ItersRangePoint
10
449.39022747116985
247115898190874.2
146835981.47932932
3
-753118471.6501554
-578421416.8415484
-589339982.7670864

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03623
13623

end0.0ms

sample1.1s

Algorithm
intervals
Results
228.0ms5698×body80valid
169.0ms814×body1280valid
118.0ms792×body640valid
109.0ms3711×body80nan
54.0ms333×body1280nan
50.0ms444×body320valid
43.0ms354×body640nan
18.0ms201×body320nan
18.0ms252×body160valid
7.0ms127×body160nan