Details

Time bar (total: 17.7s)

sample56.0ms

Algorithm
intervals
Results
10.0ms192×body80valid
8.0ms18×body1280valid
5.0ms31×body640valid
5.0ms35×body640nan
4.0ms21×body1280nan
3.0ms87×body80nan
2.0ms16×body320nan
1.0msbody320valid
1.0ms10×body160nan
1.0msbody160valid

simplify17.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

prune4.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 15.9b

Counts
2 → 1

localize9.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))
1.8b
(- 1.0 (/ (- x y) (- 1.0 y)))
6.1b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite56.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:
18.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
8.0ms
(/ (- x y) (- 1.0 y))
13.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
13.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series331.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
49.0ms
(/ (- x y) (- 1.0 y))
65.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
106.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify43.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0488942
11388894
25001876

prune829.0ms

Filtered
120 candidates to 88 candidates (26.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1164120
Fresh000
Picked101
Done000
Total1174121

Merged error: 0.0b

Counts
121 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (- 1.0 y))
0.1b
(* (- x y) (/ 1 (- 1.0 y)))
5.2b
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))
6.1b
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))

rewrite27.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))
13.0ms
(* (- x y) (/ 1 (- 1.0 y)))
3.0ms
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))
2.0ms
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))

series256.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(/ 1 (- 1.0 y))
50.0ms
(* (- x y) (/ 1 (- 1.0 y)))
69.0ms
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))
107.0ms
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))

simplify58.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0480834
12036732
25003684

prune850.0ms

Filtered
129 candidates to 82 candidates (36.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1290129
Fresh033
Picked011
Done000
Total1294133

Merged error: 0.0b

Counts
133 → 4

localize21.0ms

Local error

Found 4 expressions with local error:

0.3b
(- (log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))) (log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y)))))))
1.8b
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
11.8b
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
13.2b
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))

rewrite183.0ms

Algorithm
rewrite-expression-head
Rules
148×add-sqr-sqrt
73×difference-of-squares
72×log-prod
54×unpow-prod-down cube-prod
42×*-un-lft-identity
33×associate--l+
30×sqr-pow
24×times-frac
19×distribute-lft-out--
10×pow1
add-cube-cbrt log-div
add-exp-log log-pow add-log-exp
flip3-- add-cbrt-cube flip--
difference-cubes associate--r+
associate--l- sub-neg flip3-+ diff-log rem-log-exp flip-+ associate--r-
Counts
4 → 157
Calls
4 calls:
69.0ms
(- (log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))) (log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y)))))))
44.0ms
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
45.0ms
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
18.0ms
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))

series1.3s

Counts
4 → 12
Calls
4 calls:
457.0ms
(- (log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))) (log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y)))))))
217.0ms
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
417.0ms
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
205.0ms
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))

simplify76.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
06003250
117953141
250023063

prune1.3s

Filtered
169 candidates to 107 candidates (36.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1681169
Fresh112
Picked101
Done011
Total1703173

Merged error: 0.0b

Counts
173 → 3

localize25.0ms

Local error

Found 4 expressions with local error:

1.7b
(- (pow 1.0 6) (pow (/ (- x y) (- 1.0 y)) 6))
11.1b
(/ (- (pow 1.0 6) (pow (/ (- x y) (- 1.0 y)) 6)) (+ (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
11.8b
(log (/ (- (pow 1.0 6) (pow (/ (- x y) (- 1.0 y)) 6)) (+ (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))))
13.2b
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))

rewrite222.0ms

Algorithm
rewrite-expression-head
Rules
490×*-un-lft-identity
460×add-sqr-sqrt
380×unpow-prod-down
366×times-frac
240×difference-of-squares
175×distribute-lft-out
162×log-prod
140×cube-prod sqr-pow
60×add-cube-cbrt
40×distribute-lft-out--
35×sum-cubes
17×associate-/l*
10×add-exp-log
associate-/r*
pow1 add-cbrt-cube add-log-exp
associate-/r/
log-div flip3-+ rem-log-exp flip-+
flip3-- div-exp log-pow flip-- div-inv associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-sub clear-num
Counts
4 → 406
Calls
4 calls:
22.0ms
(- (pow 1.0 6) (pow (/ (- x y) (- 1.0 y)) 6))
72.0ms
(/ (- (pow 1.0 6) (pow (/ (- x y) (- 1.0 y)) 6)) (+ (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
72.0ms
(log (/ (- (pow 1.0 6) (pow (/ (- x y) (- 1.0 y)) 6)) (+ (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))))
20.0ms
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))

series4.1s

Counts
4 → 12
Calls
4 calls:
955.0ms
(- (pow 1.0 6) (pow (/ (- x y) (- 1.0 y)) 6))
707.0ms
(/ (- (pow 1.0 6) (pow (/ (- x y) (- 1.0 y)) 6)) (+ (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
2.2s
(log (/ (- (pow 1.0 6) (pow (/ (- x y) (- 1.0 y)) 6)) (+ (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))))
213.0ms
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))

simplify185.0ms

Algorithm
egg-herbie
Counts
418 → 418
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
012239872
141139586
250029544

prune6.2s

Filtered
418 candidates to 210 candidates (49.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New4171418
Fresh011
Picked101
Done011
Total4183421

Merged error: 0.0b

Counts
421 → 3

regimes163.0ms

Accuracy

99.7% (0.1b remaining)

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

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03019
13019

end0.0ms

sample1.4s

Algorithm
intervals
Results
260.0ms5685×body80valid
192.0ms804×body1280valid
133.0ms780×body640valid
128.0ms737×body1280nan
105.0ms766×body640nan
88.0ms2625×body80nan
57.0ms462×body320valid
46.0ms441×body320nan
24.0ms269×body160valid
16.0ms237×body160nan

Profiling

Loading profile data...