Details

Time bar (total: 9.9s)

sample127.0ms

Algorithm
intervals
Results
54.0ms814×body80nan
13.0ms188×body80valid
10.0ms13×body1280valid
8.0ms23×body640valid
4.0ms16×body320valid
3.0ms16×body160valid

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

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: 6.5b

Counts
2 → 1

localize16.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
(- (+ (* (- x 1.0) (log y)) (* (- z 1.0) (log (- 1.0 y)))) t)
0.2b
(* (- x 1.0) (log y))
4.4b
(log (- 1.0 y))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
27×log-prod
25×add-sqr-sqrt
23×*-un-lft-identity
13×add-cube-cbrt
11×distribute-rgt-in distribute-lft-in add-log-exp
10×associate-+r+ associate-*l/
pow1
add-exp-log flip3-- flip--
associate-+l+ add-cbrt-cube
associate-*l* distribute-lft-out-- difference-of-squares
associate-*r* frac-add
log-div diff-log sum-log log-pow
+-commutative sub-neg flip3-+ rem-log-exp pow-prod-down prod-exp associate--l+ *-commutative cbrt-unprod flip-+ unswap-sqr
Counts
4 → 92
Calls
4 calls:
12.0ms
(+ (* (- x 1.0) (log y)) (* (- z 1.0) (log (- 1.0 y))))
11.0ms
(- (+ (* (- x 1.0) (log y)) (* (- z 1.0) (log (- 1.0 y)))) t)
7.0ms
(* (- x 1.0) (log y))
3.0ms
(log (- 1.0 y))

series384.0ms

Counts
4 → 12
Calls
4 calls:
121.0ms
(+ (* (- x 1.0) (log y)) (* (- z 1.0) (log (- 1.0 y))))
158.0ms
(- (+ (* (- x 1.0) (log y)) (* (- z 1.0) (log (- 1.0 y)))) t)
60.0ms
(* (- x 1.0) (log y))
44.0ms
(log (- 1.0 y))

simplify68.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
0629947
12391888
25001883

prune319.0ms

Filtered
104 candidates to 83 candidates (79.8%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New986104
Fresh000
Picked101
Done000
Total996105

Merged error: 0.0b

Counts
105 → 6

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

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
92×add-sqr-sqrt
80×times-frac
78×associate-*r*
56×unpow-prod-down
55×*-un-lft-identity
46×add-cube-cbrt
31×add-exp-log
24×unpow2 sqr-pow
19×unswap-sqr
13×associate-*l* add-cbrt-cube
12×pow1 log-prod prod-exp
div-exp add-log-exp
distribute-rgt-in flip3-- distribute-lft-in flip--
associate--l+
pow-to-exp pow-exp
distribute-lft-out--
frac-times associate-*l/ cbrt-unprod difference-of-squares
sub-neg associate-*r/ pow-prod-down *-commutative
diff-log log-pow
cbrt-undiv sum-log div-inv
Counts
4 → 196
Calls
4 calls:
13.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)
19.0ms
(* 1/2 (/ (pow y 2) (pow 1.0 2)))
12.0ms
(* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))
7.0ms
(* (- x 1.0) (log y))

series431.0ms

Counts
4 → 12
Calls
4 calls:
247.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)
56.0ms
(* 1/2 (/ (pow y 2) (pow 1.0 2)))
71.0ms
(* (- 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))

simplify124.0ms

Algorithm
egg-herbie
Counts
208 → 208
Iterations

Useful iterations: 2 (96.0ms)

IterNodesCost
010201850
145671639
250021636

prune637.0ms

Filtered
208 candidates to 134 candidates (64.4%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2062208
Fresh055
Picked011
Done000
Total2068214

Merged error: 0.0b

Counts
214 → 8

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
98×associate-*l/
88×frac-times
84×flip3-- flip--
52×frac-add
31×flip3-+ flip-+
29×add-sqr-sqrt
27×*-un-lft-identity
26×associate-*r/
20×associate-*r*
16×pow1
13×add-exp-log add-cube-cbrt add-cbrt-cube
12×log-prod sqrt-prod
11×distribute-rgt-in distribute-lft-in associate-*l*
associate-+l+ add-log-exp difference-of-squares
pow-prod-down prod-exp cbrt-unprod distribute-lft-out--
sub-neg associate-+r+
log-pow *-commutative distribute-lft-out
unswap-sqr
+-commutative sum-log
Counts
4 → 190
Calls
4 calls:
14.0ms
(+ (* (- x 1.0) (log y)) (* (* (- z 1.0) (+ (sqrt (log 1.0)) (sqrt (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) (- (sqrt (log 1.0)) (sqrt (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))))
7.0ms
(* (- x 1.0) (log y))
14.0ms
(* (- z 1.0) (+ (sqrt (log 1.0)) (sqrt (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
22.0ms
(* (* (- z 1.0) (+ (sqrt (log 1.0)) (sqrt (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) (- (sqrt (log 1.0)) (sqrt (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))

series1.1s

Counts
4 → 12
Calls
4 calls:
439.0ms
(+ (* (- x 1.0) (log y)) (* (* (- z 1.0) (+ (sqrt (log 1.0)) (sqrt (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) (- (sqrt (log 1.0)) (sqrt (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))))
55.0ms
(* (- x 1.0) (log y))
293.0ms
(* (- z 1.0) (+ (sqrt (log 1.0)) (sqrt (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
278.0ms
(* (* (- z 1.0) (+ (sqrt (log 1.0)) (sqrt (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) (- (sqrt (log 1.0)) (sqrt (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))

simplify115.0ms

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 1 (39.0ms)

IterNodesCost
016808399
150028006

prune1.1s

Filtered
202 candidates to 165 candidates (81.7%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New2020202
Fresh066
Picked011
Done011
Total2028210

Merged error: 0.0b

Counts
210 → 8

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (- x 1.0) (log y))
7.6b
(+ (log (+ (sqrt 1.0) (sqrt y))) (log (- (sqrt 1.0) (sqrt y))))
10.1b
(log (+ (sqrt 1.0) (sqrt y)))
10.2b
(log (- (sqrt 1.0) (sqrt y)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
34×log-prod *-un-lft-identity
32×add-sqr-sqrt
16×sqrt-prod
13×pow1
12×add-cube-cbrt
associate-+r+ difference-of-squares
add-exp-log log-div distribute-lft-out
log-pow
add-cbrt-cube
associate-+l+ associate-*l* distribute-lft-out--
associate-*r* add-log-exp
distribute-rgt-in flip3-- distribute-lft-in flip3-+ flip-- flip-+
associate-+l- associate-+r- rem-log-exp associate-*l/
+-commutative pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
4 → 98
Calls
4 calls:
7.0ms
(* (- x 1.0) (log y))
14.0ms
(+ (log (+ (sqrt 1.0) (sqrt y))) (log (- (sqrt 1.0) (sqrt y))))
8.0ms
(log (+ (sqrt 1.0) (sqrt y)))
6.0ms
(log (- (sqrt 1.0) (sqrt y)))

series666.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(* (- x 1.0) (log y))
314.0ms
(+ (log (+ (sqrt 1.0) (sqrt y))) (log (- (sqrt 1.0) (sqrt y))))
140.0ms
(log (+ (sqrt 1.0) (sqrt y)))
151.0ms
(log (- (sqrt 1.0) (sqrt y)))

simplify45.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
04271039
11395950
25001897

prune314.0ms

Filtered
110 candidates to 73 candidates (66.4%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1091110
Fresh055
Picked101
Done022
Total1108118

Merged error: 0.0b

Counts
118 → 8

regimes376.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02815
12815

end0.0ms

sample3.6s

Algorithm
intervals
Results
1.6s24434×body80nan
425.0ms5866×body80valid
307.0ms813×body640valid
180.0ms255×body1280valid
155.0ms661×body320valid
64.0ms436×body160valid

Profiling

Loading profile data...