Details

Time bar (total: 10.4s)

sample16.0ms

Algorithm
intervals
Results
7.0ms256×body80valid

simplify134.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1159
2369
3749
41239
51559
61679
71709
done1709

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.8b

localize8.0ms

Local error

Found 1 expressions with local error:

13.3b
(/ (* (* x 2.0) y) (- x y))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
10×add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity
times-frac associate-/r*
cbrt-undiv add-cube-cbrt div-exp prod-exp cbrt-unprod
associate-/r/ distribute-lft-out-- difference-of-squares
pow1 expm1-log1p-u flip3-- frac-2neg clear-num flip-- log1p-expm1-u div-inv associate-/l* add-log-exp
Counts
1 → 31
Calls
1 calls:
39.0ms
(/ (* (* x 2.0) y) (- x y))

series74.0ms

Counts
1 → 3
Calls
1 calls:
74.0ms
(/ (* (* x 2.0) y) (- x y))

simplify1.4s

Counts
34 → 34
Iterations

Useful iterations: 2 (144.0ms)

IterNodesCost
079420
1211400
2995334
done5000334

prune75.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ y (- x y))
7.3b
(* (* x 2.0) (/ y (- x y)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt *-un-lft-identity
30×times-frac
21×add-cube-cbrt associate-*r*
16×add-exp-log add-cbrt-cube
pow1 distribute-lft-out-- difference-of-squares
prod-exp cbrt-unprod
associate-/r*
associate-/r/
cbrt-undiv div-exp pow-prod-down associate-/l*
expm1-log1p-u flip3-- flip-- log1p-expm1-u div-inv add-log-exp
frac-2neg associate-*r/ associate-*l* clear-num *-commutative
Counts
2 → 82
Calls
2 calls:
12.0ms
(/ y (- x y))
34.0ms
(* (* x 2.0) (/ y (- x y)))

series134.0ms

Counts
2 → 6
Calls
2 calls:
65.0ms
(/ y (- x y))
69.0ms
(* (* x 2.0) (/ y (- x y)))

simplify1.6s

Counts
88 → 88
Iterations

Useful iterations: 2 (272.0ms)

IterNodesCost
0120947
1304888
21244788
done5000788

prune166.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize12.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- y) (- (- x y)))
7.3b
(* (* x 2.0) (/ (- y) (- (- x y))))

rewrite150.0ms

Algorithm
rewrite-expression-head
Rules
280×times-frac
237×add-sqr-sqrt *-un-lft-identity
192×distribute-lft-neg-in distribute-rgt-neg-in
153×add-cube-cbrt
146×associate-*r*
50×neg-mul-1
42×distribute-lft-out-- difference-of-squares
16×add-exp-log add-cbrt-cube
14×associate-/r*
10×associate-/l*
pow1
prod-exp cbrt-unprod
associate-/r/ distribute-neg-frac
cbrt-undiv div-exp pow-prod-down
expm1-log1p-u flip3-- distribute-frac-neg flip-- log1p-expm1-u div-inv add-log-exp
neg-sub0 frac-2neg div-sub associate-*r/ associate-*l* clear-num *-commutative distribute-rgt-neg-out
Counts
2 → 351
Calls
2 calls:
26.0ms
(/ (- y) (- (- x y)))
91.0ms
(* (* x 2.0) (/ (- y) (- (- x y))))

series155.0ms

Counts
2 → 6
Calls
2 calls:
72.0ms
(/ (- y) (- (- x y)))
83.0ms
(* (* x 2.0) (/ (- y) (- (- x y))))

simplify2.6s

Counts
357 → 357
Iterations

Useful iterations: 2 (1.2s)

IterNodesCost
03874849
110864507
245964363
done50014363

prune777.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(expm1 (/ (- y) (- (- x y))))
0.0b
(/ (- y) (- (- x y)))
0.0b
(log1p (expm1 (/ (- y) (- (- x y)))))
7.3b
(* (* x 2.0) (log1p (expm1 (/ (- y) (- (- x y))))))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
140×times-frac
127×add-sqr-sqrt *-un-lft-identity
100×distribute-lft-neg-in distribute-rgt-neg-in
83×add-cube-cbrt
26×neg-mul-1
22×distribute-lft-out-- difference-of-squares
14×associate-/r*
11×add-exp-log add-cbrt-cube
10×associate-/l*
pow1
log1p-expm1-u
expm1-log1p-u add-log-exp
associate-*r* pow-prod-down prod-exp cbrt-unprod
associate-/r/ distribute-neg-frac
cbrt-undiv neg-sub0 log1p-udef expm1-log1p flip3-- frac-2neg div-sub log1p-expm1 distribute-frac-neg div-exp associate-*l* clear-num *-commutative flip-- div-inv expm1-udef
Counts
4 → 224
Calls
4 calls:
0.0ms
(expm1 (/ (- y) (- (- x y))))
29.0ms
(/ (- y) (- (- x y)))
0.0ms
(log1p (expm1 (/ (- y) (- (- x y)))))
22.0ms
(* (* x 2.0) (log1p (expm1 (/ (- y) (- (- x y))))))

series405.0ms

Counts
4 → 12
Calls
4 calls:
123.0ms
(expm1 (/ (- y) (- (- x y))))
51.0ms
(/ (- y) (- (- x y)))
100.0ms
(log1p (expm1 (/ (- y) (- (- x y)))))
130.0ms
(* (* x 2.0) (log1p (expm1 (/ (- y) (- (- x y))))))

simplify1.3s

Counts
236 → 236
Iterations

Useful iterations: 2 (356.0ms)

IterNodesCost
03033246
15893015
214832899
done50012899

prune567.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

regimes145.0ms

Accuracy

92.7% (0.5b remaining)

Error of 0.6b against oracle of 0.1b and baseline of 7.3b

bsearch2.0ms

simplify27.0ms

Iterations

Useful iterations: 4 (12.0ms)

IterNodesCost
025105
13393
23685
34273
44572
54872
64972
75072
done5072

end0.0ms

sample600.0ms

Algorithm
intervals
Results
331.0ms8000×body80valid