Details

Time bar (total: 12.6s)

sample53.0ms

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

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

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

localize15.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))))

rewrite74.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))
17.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
25.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series40.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
6.0ms
(/ (- x y) (- 1.0 y))
9.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
12.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify42.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0495950
11433898
25002876

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

localize9.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)))))

rewrite29.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:
6.0ms
(/ 1 (- 1.0 y))
14.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)))))

series31.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(/ 1 (- 1.0 y))
6.0ms
(* (- x y) (/ 1 (- 1.0 y)))
9.0ms
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))
15.0ms
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))

simplify54.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0487838
12073735
25001686

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

localize20.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))))))

rewrite205.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:
75.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)))))))
51.0ms
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
51.0ms
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
19.0ms
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))

series242.0ms

Counts
4 → 12
Calls
4 calls:
91.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)))))))
52.0ms
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
65.0ms
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
34.0ms
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))

simplify74.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
06143258
118883145
250013064

prune1.5s

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))))))

rewrite248.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:
24.0ms
(- (pow 1.0 6) (pow (/ (- x y) (- 1.0 y)) 6))
82.0ms
(/ (- (pow 1.0 6) (pow (/ (- x y) (- 1.0 y)) 6)) (+ (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
82.0ms
(log (/ (- (pow 1.0 6) (pow (/ (- x y) (- 1.0 y)) 6)) (+ (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))))
19.0ms
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))

series704.0ms

Counts
4 → 12
Calls
4 calls:
195.0ms
(- (pow 1.0 6) (pow (/ (- x y) (- 1.0 y)) 6))
168.0ms
(/ (- (pow 1.0 6) (pow (/ (- x y) (- 1.0 y)) 6)) (+ (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
306.0ms
(log (/ (- (pow 1.0 6) (pow (/ (- x y) (- 1.0 y)) 6)) (+ (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))))
35.0ms
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))

simplify171.0ms

Algorithm
egg-herbie
Counts
418 → 418
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
012379880
142359590
250029548

prune5.9s

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

regimes156.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
261.0ms5685×body80valid
183.0ms804×body1280valid
130.0ms780×body640valid
128.0ms737×body1280nan
102.0ms766×body640nan
85.0ms2625×body80nan
55.0ms462×body320valid
44.0ms441×body320nan
21.0ms269×body160valid
17.0ms237×body160nan

Profiling

Loading profile data...