Details

Time bar (total: 8.9s)

sample109.0ms

Algorithm
intervals
Results
37.0ms790×body80nan
9.0ms189×body80valid
8.0ms27×body640valid
5.0msbody1280valid
4.0ms23×body320valid
1.0ms12×body160valid

simplify127.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0269
1499
21189
32569
45339
512509
626379
742979
845739
945889
1045889

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 6.9b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (- x 1.0) (log y)) (* (- z 1.0) (log (- 1.0 y))))
0.0b
(* (- z 1.0) (log (- 1.0 y)))
0.2b
(* (- x 1.0) (log y))
6.6b
(log (- 1.0 y))

rewrite88.0ms

Algorithm
rewrite-expression-head
Rules
37×log-prod
35×add-sqr-sqrt
31×*-un-lft-identity
17×add-cube-cbrt
16×distribute-rgt-in distribute-lft-in
12×associate-*l/
11×pow1
10×associate-+r+ associate-*l*
add-exp-log
associate-*r* add-cbrt-cube
flip3-- flip-- distribute-lft-out-- difference-of-squares
associate-+l+ add-log-exp
frac-add
log-pow
log-div pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
+-commutative flip3-+ rem-log-exp sum-log flip-+
Counts
4 → 109
Calls
4 calls:
27.0ms
(+ (* (- x 1.0) (log y)) (* (- z 1.0) (log (- 1.0 y))))
30.0ms
(* (- z 1.0) (log (- 1.0 y)))
22.0ms
(* (- x 1.0) (log y))
5.0ms
(log (- 1.0 y))

series273.0ms

Counts
4 → 12
Calls
4 calls:
125.0ms
(+ (* (- x 1.0) (log y)) (* (- z 1.0) (log (- 1.0 y))))
43.0ms
(* (- z 1.0) (log (- 1.0 y)))
60.0ms
(* (- x 1.0) (log y))
45.0ms
(log (- 1.0 y))

simplify68.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
0621970
12460896
25003883

prune366.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ (* (- x 1.0) (log y)) (* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) t)
0.0b
(* 1/2 (/ (pow y 2) (pow 1.0 2)))
0.0b
(+ (* (- x 1.0) (log y)) (* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
0.2b
(* (- x 1.0) (log y))

rewrite184.0ms

Algorithm
rewrite-expression-head
Rules
86×add-sqr-sqrt
80×times-frac
72×associate-*r*
56×unpow-prod-down
50×*-un-lft-identity
46×add-cube-cbrt
29×add-exp-log
24×unpow2 sqr-pow
22×flip3-- associate-*l/ flip--
18×log-prod unswap-sqr
16×frac-add
11×distribute-rgt-in distribute-lft-in prod-exp add-cbrt-cube add-log-exp
10×associate-+r+
pow1 div-exp
frac-times associate-*l*
associate--l+
pow-to-exp associate-+l+ pow-exp
associate-*r/
sub-neg cbrt-unprod
diff-log pow-prod-down sum-log *-commutative distribute-lft-out-- difference-of-squares
cbrt-undiv +-commutative flip3-+ log-pow flip-+ div-inv
Counts
4 → 198
Calls
4 calls:
82.0ms
(- (+ (* (- x 1.0) (log y)) (* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) t)
39.0ms
(* 1/2 (/ (pow y 2) (pow 1.0 2)))
28.0ms
(+ (* (- x 1.0) (log y)) (* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
23.0ms
(* (- x 1.0) (log y))

series525.0ms

Counts
4 → 12
Calls
4 calls:
255.0ms
(- (+ (* (- x 1.0) (log y)) (* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) t)
51.0ms
(* 1/2 (/ (pow y 2) (pow 1.0 2)))
162.0ms
(+ (* (- x 1.0) (log y)) (* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
57.0ms
(* (- x 1.0) (log y))

simplify52.0ms

Algorithm
egg-herbie
Counts
210 → 210
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
013012619
150012421

prune830.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize25.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (- x 1.0) (log (cbrt y)))
0.3b
(+ (* (* 2 (log (cbrt y))) (- x 1.0)) (* (- x 1.0) (log (cbrt y))))
0.6b
(cbrt y)
0.6b
(cbrt y)

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
24×log-prod
20×add-sqr-sqrt
18×cbrt-prod *-un-lft-identity
16×add-cube-cbrt
14×distribute-rgt-in distribute-lft-in
12×associate-+r+
pow1
add-exp-log associate-*l/ add-cbrt-cube add-log-exp
flip3-- associate-*r* associate-*l* flip--
associate-+l+ associate-*r/ frac-add
pow1/3
sub-neg log-pow
+-commutative flip3-+ pow-prod-down prod-exp sum-log *-commutative cbrt-unprod flip-+ distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 89
Calls
4 calls:
24.0ms
(* (- x 1.0) (log (cbrt y)))
34.0ms
(+ (* (* 2 (log (cbrt y))) (- x 1.0)) (* (- x 1.0) (log (cbrt y))))
1.0ms
(cbrt y)
1.0ms
(cbrt y)

series788.0ms

Counts
4 → 12
Calls
4 calls:
123.0ms
(* (- x 1.0) (log (cbrt y)))
299.0ms
(+ (* (* 2 (log (cbrt y))) (- x 1.0)) (* (- x 1.0) (log (cbrt y))))
179.0ms
(cbrt y)
186.0ms
(cbrt y)

simplify71.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
0450835
12041746
25002703

prune512.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize41.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
0.6b
(cbrt y)
0.6b
(cbrt (cbrt y))
0.7b
(cbrt (* (cbrt y) (cbrt y)))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
16×cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log pow1/3 add-cbrt-cube add-log-exp
Counts
4 → 45
Calls
4 calls:
1.0ms
(cbrt y)
1.0ms
(cbrt y)
1.0ms
(cbrt (cbrt y))
5.0ms
(cbrt (* (cbrt y) (cbrt y)))

series877.0ms

Counts
4 → 12
Calls
4 calls:
181.0ms
(cbrt y)
185.0ms
(cbrt y)
236.0ms
(cbrt (cbrt y))
275.0ms
(cbrt (* (cbrt y) (cbrt y)))

simplify108.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 4 (104.0ms)

IterNodesCost
0106215
1236195
2753185
33141185
45001180

prune390.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes226.0ms

Accuracy

0% (0.1b remaining)

Error of 0.3b against oracle of 0.2b and baseline of 0.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02815
12815

end0.0ms

sample3.1s

Algorithm
intervals
Results
1.1s24302×body80nan
296.0ms5868×body80valid
219.0ms766×body640valid
155.0ms264×body1280valid
120.0ms695×body320valid
46.0ms440×body160valid