Details

Time bar (total: 26.3s)

sample42.0ms

Algorithm
intervals
Results
20.0ms293×body80valid

simplify1.5s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06123
111123
222123
344123
473123
5102123
6240123
7651123
81908123
done5001123

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 10.2b

localize22.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (- y z))
9.7b
(/ (* x (- y z)) y)

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
20×*-un-lft-identity
18×prod-diff add-cube-cbrt
11×distribute-rgt-in distribute-lft-in
add-cbrt-cube add-exp-log
associate-*r*
pow1 associate-*r/
associate-/r* times-frac associate-*l*
expm1-log1p-u cbrt-undiv sub-neg flip3-- div-exp prod-exp cbrt-unprod log1p-expm1-u flip-- add-log-exp associate-/l/
clear-num frac-2neg pow-prod-down *-commutative div-inv associate-/l* distribute-lft-out-- difference-of-squares unswap-sqr
Counts
2 → 71
Calls
2 calls:
19.0ms
(* x (- y z))
34.0ms
(/ (* x (- y z)) y)

series148.0ms

Counts
2 → 6
Calls
2 calls:
53.0ms
(* x (- y z))
94.0ms
(/ (* x (- y z)) y)

simplify1.2s

Counts
77 → 77
Iterations

Useful iterations: done (1.2s)

IterNodesCost
014019337
135116823
2162713299
done500213059

prune344.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ y (- y z))
3.6b
(/ x (/ y (- y z)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
138×times-frac
102×add-sqr-sqrt *-un-lft-identity
70×add-cube-cbrt
26×associate-/r*
16×distribute-lft-out-- difference-of-squares
11×associate-/r/
add-cbrt-cube add-exp-log
div-inv associate-/l*
flip3-- flip--
cbrt-undiv div-exp
expm1-log1p-u pow1 clear-num frac-2neg log1p-expm1-u add-log-exp
Counts
2 → 143
Calls
2 calls:
13.0ms
(/ y (- y z))
14.0ms
(/ x (/ y (- y z)))

series154.0ms

Counts
2 → 6
Calls
2 calls:
68.0ms
(/ y (- y z))
86.0ms
(/ x (/ y (- y z)))

simplify1.8s

Counts
149 → 149
Iterations

Useful iterations: done (1.8s)

IterNodesCost
022247927
156543877
2281242659
done500042619

prune783.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 1 expressions with local error:

12.9b
(* (/ x y) (- y z))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
23×*-un-lft-identity
21×add-cube-cbrt
18×prod-diff
13×associate-*l*
11×distribute-rgt-in distribute-lft-in
10×times-frac
add-cbrt-cube add-exp-log
associate-*r*
pow1
frac-times sub-neg flip3-- prod-exp associate-*r/ cbrt-unprod flip-- unswap-sqr
expm1-log1p-u cbrt-undiv div-exp pow-prod-down associate-*l/ *-commutative log1p-expm1-u div-inv distribute-lft-out-- add-log-exp difference-of-squares
Counts
1 → 62
Calls
1 calls:
41.0ms
(* (/ x y) (- y z))

series58.0ms

Counts
1 → 3
Calls
1 calls:
58.0ms
(* (/ x y) (- y z))

simplify2.2s

Counts
65 → 65
Iterations

Useful iterations: done (2.2s)

IterNodesCost
014320992
140618489
2232014844
done500114604

prune195.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

localize27.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ x (sqrt (/ y (- y z))))
0.1b
(/ (/ x (sqrt (/ y (- y z)))) (sqrt (/ y (- y z))))
3.4b
(sqrt (/ y (- y z)))
3.4b
(sqrt (/ y (- y z)))

rewrite480.0ms

Algorithm
rewrite-expression-head
Rules
6107×times-frac
3339×sqrt-prod
3202×add-sqr-sqrt
3196×*-un-lft-identity
2242×add-cube-cbrt
477×distribute-lft-out-- difference-of-squares
345×associate-/r/
186×div-inv
159×flip3-- flip--
80×associate-/l*
48×associate-/r*
29×sqrt-div
11×add-cbrt-cube add-exp-log
pow1
expm1-log1p-u cbrt-undiv rem-sqrt-square div-exp log1p-expm1-u add-log-exp
clear-num frac-2neg sqrt-pow1 pow1/2
associate-/l/
Counts
4 → 2151
Calls
4 calls:
29.0ms
(/ x (sqrt (/ y (- y z))))
149.0ms
(/ (/ x (sqrt (/ y (- y z)))) (sqrt (/ y (- y z))))
17.0ms
(sqrt (/ y (- y z)))
24.0ms
(sqrt (/ y (- y z)))

series440.0ms

Counts
4 → 12
Calls
4 calls:
133.0ms
(/ x (sqrt (/ y (- y z))))
135.0ms
(/ (/ x (sqrt (/ y (- y z)))) (sqrt (/ y (- y z))))
73.0ms
(sqrt (/ y (- y z)))
99.0ms
(sqrt (/ y (- y z)))

simplify3.7s

Counts
2163 → 2163
Iterations

Useful iterations: done (3.2s)

IterNodesCost
026421813524
done50001702813

prune11.8s

Pruning

5 alts after pruning (1 fresh and 4 done)

Merged error: 0b

regimes280.0ms

Accuracy

52.6% (1.5b remaining)

Error of 1.5b against oracle of 0.0b and baseline of 3.1b

bsearch1.0ms

simplify17.0ms

Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
023847
127847
230847
333847
done33847

end0.0ms

sample1.1s

Algorithm
intervals
Results
349.0ms9589×body80valid