Details

Time bar (total: 4.3s)

sample36.0ms

Algorithm
intervals
Results
7.0ms178×body80valid
5.0ms25×body1280valid
3.0ms109×body80nan
3.0ms22×body640valid
2.0ms13×body1280nan
2.0ms19×body320valid
2.0ms15×body640nan
1.0ms12×body160valid
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: 18.7b

localize11.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.6b
(- 1.0 (/ (- x y) (- 1.0 y)))
3.8b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite53.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:
16.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))))

series272.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
35.0ms
(/ (- x y) (- 1.0 y))
50.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
98.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify46.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0488942
11388894
25001876

prune283.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize17.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (- x y))
0.6b
(cbrt (- x y))
3.8b
(log (- 1.0 (* (* (cbrt (- x y)) (cbrt (- x y))) (/ (cbrt (- x y)) (- 1.0 y)))))
11.9b
(- 1.0 (* (* (cbrt (- x y)) (cbrt (- x y))) (/ (cbrt (- x y)) (- 1.0 y))))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt *-un-lft-identity
10×cbrt-prod
add-cube-cbrt
add-log-exp
pow1 add-exp-log
cbrt-div flip3-- add-cbrt-cube flip--
log-prod
log-div pow1/3 distribute-lft-out-- difference-of-squares
sub-neg diff-log rem-log-exp log-pow
Counts
4 → 56
Calls
4 calls:
6.0ms
(cbrt (- x y))
5.0ms
(cbrt (- x y))
4.0ms
(log (- 1.0 (* (* (cbrt (- x y)) (cbrt (- x y))) (/ (cbrt (- x y)) (- 1.0 y)))))
5.0ms
(- 1.0 (* (* (cbrt (- x y)) (cbrt (- x y))) (/ (cbrt (- x y)) (- 1.0 y))))

series578.0ms

Counts
4 → 12
Calls
4 calls:
206.0ms
(cbrt (- x y))
185.0ms
(cbrt (- x y))
113.0ms
(log (- 1.0 (* (* (cbrt (- x y)) (cbrt (- x y))) (/ (cbrt (- x y)) (- 1.0 y)))))
74.0ms
(- 1.0 (* (* (cbrt (- x y)) (cbrt (- x y))) (/ (cbrt (- x y)) (- 1.0 y))))

simplify128.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (117.0ms)

IterNodesCost
0304790
1850697
23564675
35001665

prune204.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

localize16.0ms

Local error

Found 4 expressions with local error:

3.5b
(log (sqrt (- 1.0 (* (* (cbrt (- x y)) (cbrt (- x y))) (/ (cbrt (- x y)) (- 1.0 y))))))
3.5b
(log (sqrt (- 1.0 (* (* (cbrt (- x y)) (cbrt (- x y))) (/ (cbrt (- x y)) (- 1.0 y))))))
11.9b
(- 1.0 (* (* (cbrt (- x y)) (cbrt (- x y))) (/ (cbrt (- x y)) (- 1.0 y))))
11.9b
(- 1.0 (* (* (cbrt (- x y)) (cbrt (- x y))) (/ (cbrt (- x y)) (- 1.0 y))))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
12×log-prod
pow1 add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
add-exp-log sqrt-prod log-pow
log-div flip3-- sqrt-div add-cbrt-cube flip--
sub-neg sqrt-pow1 pow1/2 diff-log rem-log-exp
Counts
4 → 62
Calls
4 calls:
3.0ms
(log (sqrt (- 1.0 (* (* (cbrt (- x y)) (cbrt (- x y))) (/ (cbrt (- x y)) (- 1.0 y))))))
3.0ms
(log (sqrt (- 1.0 (* (* (cbrt (- x y)) (cbrt (- x y))) (/ (cbrt (- x y)) (- 1.0 y))))))
3.0ms
(- 1.0 (* (* (cbrt (- x y)) (cbrt (- x y))) (/ (cbrt (- x y)) (- 1.0 y))))
3.0ms
(- 1.0 (* (* (cbrt (- x y)) (cbrt (- x y))) (/ (cbrt (- x y)) (- 1.0 y))))

series364.0ms

Counts
4 → 12
Calls
4 calls:
129.0ms
(log (sqrt (- 1.0 (* (* (cbrt (- x y)) (cbrt (- x y))) (/ (cbrt (- x y)) (- 1.0 y))))))
126.0ms
(log (sqrt (- 1.0 (* (* (cbrt (- x y)) (cbrt (- x y))) (/ (cbrt (- x y)) (- 1.0 y))))))
54.0ms
(- 1.0 (* (* (cbrt (- x y)) (cbrt (- x y))) (/ (cbrt (- x y)) (- 1.0 y))))
54.0ms
(- 1.0 (* (* (cbrt (- x y)) (cbrt (- x y))) (/ (cbrt (- x y)) (- 1.0 y))))

simplify85.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (73.0ms)

IterNodesCost
02151418
16111274
228951270
350011266

prune248.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ x (pow y 2)) (/ 1 y))
2.2b
(log (+ (* 1.0 (- (/ x (pow y 2)) (/ 1 y))) (/ x y)))
4.3b
(+ (* 1.0 (- (/ x (pow y 2)) (/ 1 y))) (/ x y))
10.0b
(/ x (pow y 2))

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
63×add-sqr-sqrt
48×times-frac
34×*-un-lft-identity
22×add-cube-cbrt
15×unpow-prod-down difference-of-squares
10×add-exp-log
associate-/r* add-log-exp
unpow2 sqr-pow
associate-*r/ frac-add add-cbrt-cube
pow1 log-div
associate-+l+
sub-neg log-prod flip3-- div-exp frac-sub flip-- associate-/l* distribute-lft-out--
distribute-rgt-in distribute-lft-in flip3-+ flip-+ div-inv
cbrt-undiv +-commutative pow-to-exp frac-2neg diff-log rem-log-exp pow-exp clear-num sum-log log-pow
Counts
4 → 115
Calls
4 calls:
26.0ms
(- (/ x (pow y 2)) (/ 1 y))
26.0ms
(log (+ (* 1.0 (- (/ x (pow y 2)) (/ 1 y))) (/ x y)))
29.0ms
(+ (* 1.0 (- (/ x (pow y 2)) (/ 1 y))) (/ x y))
5.0ms
(/ x (pow y 2))

series150.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(- (/ x (pow y 2)) (/ 1 y))
65.0ms
(log (+ (* 1.0 (- (/ x (pow y 2)) (/ 1 y))) (/ x y)))
32.0ms
(+ (* 1.0 (- (/ x (pow y 2)) (/ 1 y))) (/ x y))
23.0ms
(/ x (pow y 2))

simplify61.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05191121
118961014
250021005

prune277.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.2b

regimes105.0ms

Accuracy

99.8% (0.0b remaining)

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

bsearch142.0ms

Steps
ItersRangePoint
11
0.04032056371688071
1.4819289714344828e+28
73789365.95162582
8
-1398402063.149054
-3875183.9477288676
-73256728.01718603

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04350
14350

end0.0ms

sample1.1s

Algorithm
intervals
Results
223.0ms5679×body80valid
172.0ms837×body1280valid
110.0ms772×body640valid
105.0ms3645×body80nan
57.0ms365×body1280nan
52.0ms463×body320valid
47.0ms405×body640nan
20.0ms239×body320nan
17.0ms249×body160valid
6.0ms109×body160nan