Details

Time bar (total: 3.9s)

sample36.0ms

Algorithm
intervals
Results
7.0ms183×body80valid
7.0ms35×body1280valid
3.0ms119×body80nan
3.0ms22×body640valid
2.0ms14×body1280nan
1.0ms11×body320valid
1.0ms12×body320nan
1.0msbody640nan
0.0msbody160valid
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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 18.2b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x y) (- 1.0 y))
1.7b
(- 1.0 (/ (- x y) (- 1.0 y)))
4.5b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
flip3-- flip--
log-div div-sub associate-/r/ associate-/l/
sub-neg frac-2neg clear-num div-inv associate--r-
Counts
3 → 15
Calls
3 calls:
4.0ms
(/ (- x y) (- 1.0 y))
2.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
2.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series168.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(/ (- x y) (- 1.0 y))
48.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
81.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify59.0ms

Algorithm
egg-herbie
Counts
24 → 24
Iterations

Useful iterations: 3 (56.0ms)

IterNodesCost
0231169
1657159
22657152
35001151

prune70.0ms

Filtered
24 candidates to 21 candidates (87.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New20424
Fresh000
Picked101
Done000
Total21425

Merged error: 0.1b

Counts
25 → 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)))
4.4b
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))
4.5b
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
flip3-- flip--
frac-times
clear-num
frac-2neg associate-/r/
associate-*r/ associate-*r*
log-div associate-*l/ un-div-inv div-inv
sub-neg *-commutative inv-pow
Counts
4 → 29
Calls
4 calls:
3.0ms
(/ 1 (- 1.0 y))
5.0ms
(* (- x y) (/ 1 (- 1.0 y)))
2.0ms
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))
2.0ms
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))

series192.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ 1 (- 1.0 y))
36.0ms
(* (- x y) (/ 1 (- 1.0 y)))
52.0ms
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))
80.0ms
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))

simplify34.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0292258
11156240
25002233

prune96.0ms

Filtered
41 candidates to 30 candidates (73.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New40141
Fresh123
Picked011
Done000
Total41445

Merged error: 0.1b

Counts
45 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (- x y) (/ 1 (- 1.0 y)) 1.0)
1.7b
(fma (/ (- (- x y)) (- 1.0 y)) (/ (- x y) (- 1.0 y)) (* 1.0 1.0))
4.5b
(log (/ (fma (/ (- (- x y)) (- 1.0 y)) (/ (- x y) (- 1.0 y)) (* 1.0 1.0)) (fma (- x y) (/ 1 (- 1.0 y)) 1.0)))
7.1b
(/ (fma (/ (- (- x y)) (- 1.0 y)) (/ (- x y) (- 1.0 y)) (* 1.0 1.0)) (fma (- x y) (/ 1 (- 1.0 y)) 1.0))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
log-div clear-num
frac-2neg fma-udef div-inv
log-prod log-rec
Counts
4 → 10
Calls
4 calls:
1.0ms
(fma (- x y) (/ 1 (- 1.0 y)) 1.0)
1.0ms
(fma (/ (- (- x y)) (- 1.0 y)) (/ (- x y) (- 1.0 y)) (* 1.0 1.0))
2.0ms
(log (/ (fma (/ (- (- x y)) (- 1.0 y)) (/ (- x y) (- 1.0 y)) (* 1.0 1.0)) (fma (- x y) (/ 1 (- 1.0 y)) 1.0)))
2.0ms
(/ (fma (/ (- (- x y)) (- 1.0 y)) (/ (- x y) (- 1.0 y)) (* 1.0 1.0)) (fma (- x y) (/ 1 (- 1.0 y)) 1.0))

series425.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(fma (- x y) (/ 1 (- 1.0 y)) 1.0)
87.0ms
(fma (/ (- (- x y)) (- 1.0 y)) (/ (- x y) (- 1.0 y)) (* 1.0 1.0))
174.0ms
(log (/ (fma (/ (- (- x y)) (- 1.0 y)) (/ (- x y) (- 1.0 y)) (* 1.0 1.0)) (fma (- x y) (/ 1 (- 1.0 y)) 1.0)))
123.0ms
(/ (fma (/ (- (- x y)) (- 1.0 y)) (/ (- x y) (- 1.0 y)) (* 1.0 1.0)) (fma (- x y) (/ 1 (- 1.0 y)) 1.0))

simplify58.0ms

Algorithm
egg-herbie
Counts
22 → 22
Iterations

Useful iterations: 3 (55.0ms)

IterNodesCost
0189208
1518197
22316187
35002182

prune65.0ms

Filtered
22 candidates to 18 candidates (81.8%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New22022
Fresh022
Picked011
Done011
Total22426

Merged error: 0.1b

Counts
26 → 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.6b
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
11.9b
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))
12.0b
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
14×sqr-pow
10×prod-diff
log-div unpow3
unpow-prod-down flip3-- flip--
log-prod associate-/r/
difference-cubes difference-of-squares
associate--l- sub-neg flip3-+ fma-neg associate--l+ flip-+ div-inv associate--r-
diff-log
Counts
4 → 35
Calls
4 calls:
20.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)))))))
9.0ms
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
13.0ms
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))
6.0ms
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))

series1.0s

Counts
4 → 12
Calls
4 calls:
355.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)))))))
173.0ms
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
160.0ms
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))
324.0ms
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))

simplify55.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
05531056
11943965
25001959

prune175.0ms

Filtered
47 candidates to 38 candidates (80.9%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New47047
Fresh011
Picked011
Done022
Total47451

Merged error: 0.1b

Counts
51 → 4

regimes105.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch140.0ms

Steps
ItersRangePoint
11
8.759227531050375e-05
1.59478993200196e+33
31013756.918869812
9
-630460809.4077591
-1321.9465148101187
-110591217.13861813

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03215
13215

end0.0ms

sample1.0s

Algorithm
intervals
Results
221.0ms5680×body80valid
166.0ms829×body1280valid
104.0ms763×body640valid
99.0ms3630×body80nan
55.0ms343×body1280nan
49.0ms408×body640nan
45.0ms460×body320valid
18.0ms268×body160valid
17.0ms198×body320nan
6.0ms102×body160nan