Details

Time bar (total: 4.3s)

sample33.0ms

Algorithm
intervals
Results
7.0ms192×body80valid
4.0ms22×body1280valid
3.0ms23×body640valid
3.0ms95×body80nan
2.0ms15×body640nan
1.0ms14×body320valid
1.0msbody1280nan
0.0msbody320nan
0.0msbody160valid
0.0msbody160nan

simplify23.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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: 16.0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x y) (- 1.0 y))
2.4b
(- 1.0 (/ (- x y) (- 1.0 y)))
3.9b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
50×add-sqr-sqrt
44×*-un-lft-identity
27×times-frac
16×add-cube-cbrt difference-of-squares
14×distribute-lft-out--
add-exp-log log-prod
associate-/r* add-cbrt-cube associate-/l* add-log-exp
pow1 flip3-- flip--
log-div div-sub associate-/r/ associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-exp rem-log-exp clear-num log-pow div-inv associate--r-
Counts
3 → 85
Calls
3 calls:
10.0ms
(/ (- x y) (- 1.0 y))
19.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
22.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series178.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(/ (- x y) (- 1.0 y))
54.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
86.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify43.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0397707
11115663
25001658

prune230.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (- 1.0 y))
0.1b
(* (- x y) (/ 1 (- 1.0 y)))
3.9b
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))
5.1b
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt
42×*-un-lft-identity
32×times-frac
25×add-cube-cbrt
21×associate-*r*
18×add-exp-log
11×add-cbrt-cube
pow1 distribute-lft-out-- difference-of-squares
flip3-- flip-- add-log-exp
associate-*l* associate-/r*
div-exp prod-exp associate-/r/
log-prod associate-/l* unswap-sqr
cbrt-undiv frac-times log-div rec-exp 1-exp associate-*l/ cbrt-unprod div-inv
sub-neg pow-flip frac-2neg diff-log associate-*r/ rem-log-exp pow-prod-down clear-num log-pow un-div-inv *-commutative inv-pow
Counts
4 → 117
Calls
4 calls:
5.0ms
(/ 1 (- 1.0 y))
24.0ms
(* (- x y) (/ 1 (- 1.0 y)))
5.0ms
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))
2.0ms
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))

series205.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ 1 (- 1.0 y))
37.0ms
(* (- x y) (/ 1 (- 1.0 y)))
87.0ms
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))
57.0ms
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))

simplify60.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0480836
12036736
25001688

prune262.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (- 1.0 (/ (- x y) (- 1.0 y))) 3)
2.4b
(- 1.0 (/ (- x y) (- 1.0 y)))
3.9b
(log (cbrt (pow (- 1.0 (/ (- x y) (- 1.0 y))) 3)))
11.6b
(cbrt (pow (- 1.0 (/ (- x y) (- 1.0 y))) 3))

rewrite148.0ms

Algorithm
rewrite-expression-head
Rules
49×add-sqr-sqrt
36×cbrt-prod
28×*-un-lft-identity
21×log-prod
18×unpow-prod-down cube-prod
14×add-cube-cbrt difference-of-squares
times-frac distribute-lft-out--
pow1 add-exp-log cube-div add-log-exp
add-cbrt-cube
cbrt-div flip3-- flip--
cube-mult pow-unpow unpow3 sqr-pow
log-div pow1/3 log-pow
pow-to-exp sub-neg pow-pow diff-log div-sub rem-log-exp pow-exp rem-cbrt-cube associate--r- rem-cube-cbrt
Counts
4 → 109
Calls
4 calls:
40.0ms
(pow (- 1.0 (/ (- x y) (- 1.0 y))) 3)
19.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
43.0ms
(log (cbrt (pow (- 1.0 (/ (- x y) (- 1.0 y))) 3)))
42.0ms
(cbrt (pow (- 1.0 (/ (- x y) (- 1.0 y))) 3))

series303.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(pow (- 1.0 (/ (- x y) (- 1.0 y))) 3)
59.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
88.0ms
(log (cbrt (pow (- 1.0 (/ (- x y) (- 1.0 y))) 3)))
52.0ms
(cbrt (pow (- 1.0 (/ (- x y) (- 1.0 y))) 3))

simplify53.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03851177
113711078
250011062

prune248.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))
2.4b
(- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))))
3.1b
(log (- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))))
3.8b
(log (+ 1.0 (/ (- x y) (- 1.0 y))))

rewrite94.0ms

Algorithm
rewrite-expression-head
Rules
240×*-un-lft-identity
166×add-sqr-sqrt
152×times-frac
76×distribute-lft-out--
58×add-cube-cbrt
55×swap-sqr
50×difference-of-squares
31×associate-*r* associate-*l*
18×add-exp-log
16×add-cbrt-cube
13×pow1
log-prod associate-/r/
flip3-- flip-- add-log-exp
cbrt-undiv log-div div-exp prod-exp cbrt-unprod div-inv unswap-sqr
rem-log-exp log-pow
pow2 frac-times sub-neg flip3-+ pow-plus diff-log associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up flip-+ distribute-lft-out
Counts
4 → 188
Calls
4 calls:
56.0ms
(* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))
3.0ms
(- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))))
3.0ms
(log (- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))))
19.0ms
(log (+ 1.0 (/ (- x y) (- 1.0 y))))

series574.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))
105.0ms
(- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))))
332.0ms
(log (- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))))
86.0ms
(log (+ 1.0 (/ (- x y) (- 1.0 y))))

simplify115.0ms

Algorithm
egg-herbie
Counts
200 → 200
Iterations

Useful iterations: 2 (91.0ms)

IterNodesCost
08992342
140772154
250022099

prune463.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.1b

regimes140.0ms

Accuracy

99.7% (0.1b remaining)

Error of 0.1b against oracle of 0.1b and baseline of 17.8b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03019
13019

end0.0ms

sample1000.0ms

Algorithm
intervals
Results
214.0ms5689×body80valid
149.0ms779×body1280valid
108.0ms807×body640valid
107.0ms3853×body80nan
54.0ms363×body1280nan
53.0ms427×body640nan
45.0ms472×body320valid
18.0ms224×body320nan
16.0ms253×body160valid
6.0ms106×body160nan