Details

Time bar (total: 9.4s)

sample37.0ms

Algorithm
intervals
Results
13.0ms301×body80valid

simplify1.4s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
1167
2227
3337
4387
5447
6487
71147
82547
95877
1013917
1131307
done50017

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ y z))
12.3b
(/ (* x (+ y z)) z)

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
pow1 associate-*r/ associate-*r*
times-frac associate-*l* associate-/r*
cbrt-undiv flip3-+ div-exp prod-exp cbrt-unprod flip-+ associate-/l/ add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num *-commutative div-inv distribute-lft-out associate-/l* unswap-sqr
Counts
2 → 46
Calls
2 calls:
43.0ms
(* x (+ y z))
27.0ms
(/ (* x (+ y z)) z)

series97.0ms

Counts
2 → 6
Calls
2 calls:
40.0ms
(* x (+ y z))
57.0ms
(/ (* x (+ y z)) z)

simplify1.1s

Counts
52 → 52
Iterations

Useful iterations: done (1.1s)

IterNodesCost
085458
1244434
21285382
done5000376

prune215.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ z (+ y z))
2.5b
(/ x (/ z (+ y z)))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
94×*-un-lft-identity
62×add-sqr-sqrt add-cube-cbrt
22×associate-/r*
16×distribute-lft-out
11×associate-/r/
add-exp-log add-cbrt-cube
div-inv associate-/l*
flip3-+ flip-+
cbrt-undiv div-exp
pow1 frac-2neg clear-num add-log-exp
Counts
2 → 123
Calls
2 calls:
20.0ms
(/ z (+ y z))
30.0ms
(/ x (/ z (+ y z)))

series146.0ms

Counts
2 → 6
Calls
2 calls:
68.0ms
(/ z (+ y z))
78.0ms
(/ x (/ z (+ y z)))

simplify1.1s

Counts
129 → 129
Iterations

Useful iterations: 2 (362.0ms)

IterNodesCost
01871758
14811648
223731564
done50001564

prune361.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (+ y z) z)
2.7b
(* x (/ (+ y z) z))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
34×*-un-lft-identity
25×add-sqr-sqrt times-frac
20×add-cube-cbrt
16×associate-*r*
add-exp-log add-cbrt-cube
distribute-lft-out
pow1 associate-/l*
associate-*l* associate-/r*
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv associate-/l/ add-log-exp unswap-sqr
frac-2neg flip3-+ associate-*r/ pow-prod-down clear-num *-commutative flip-+
Counts
2 → 68
Calls
2 calls:
31.0ms
(/ (+ y z) z)
34.0ms
(* x (/ (+ y z) z))

series70.0ms

Counts
2 → 6
Calls
2 calls:
23.0ms
(/ (+ y z) z)
47.0ms
(* x (/ (+ y z) z))

simplify673.0ms

Counts
74 → 74
Iterations

Useful iterations: 2 (179.0ms)

IterNodesCost
097719
1251689
21057623
done5000623

prune316.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

localize27.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (/ (* x (+ y z)) z))
0.2b
(* (sqrt (/ (* x (+ y z)) z)) (sqrt (/ (* x (+ y z)) z)))
12.3b
(/ (* x (+ y z)) z)
12.3b
(/ (* x (+ y z)) z)

rewrite157.0ms

Algorithm
rewrite-expression-head
Rules
41×sqrt-prod
35×add-sqr-sqrt
22×add-cube-cbrt *-un-lft-identity
21×times-frac
20×pow1
16×add-exp-log add-cbrt-cube
12×swap-sqr
10×associate-*r* associate-*l*
sqrt-pow1 pow1/2
div-inv
associate-/r*
sqrt-div associate-*r/ pow-prod-up
cbrt-undiv div-exp associate-/l/ add-log-exp unswap-sqr
pow-prod-down prod-exp pow-sqr cbrt-unprod
frac-2neg flip3-+ clear-num flip-+ associate-/l*
pow2 frac-times rem-sqrt-square pow-plus sqrt-unprod associate-*l/ rem-square-sqrt *-commutative
Counts
4 → 128
Calls
4 calls:
9.0ms
(sqrt (/ (* x (+ y z)) z))
87.0ms
(* (sqrt (/ (* x (+ y z)) z)) (sqrt (/ (* x (+ y z)) z)))
28.0ms
(/ (* x (+ y z)) z)
29.0ms
(/ (* x (+ y z)) z)

series401.0ms

Counts
4 → 12
Calls
4 calls:
175.0ms
(sqrt (/ (* x (+ y z)) z))
139.0ms
(* (sqrt (/ (* x (+ y z)) z)) (sqrt (/ (* x (+ y z)) z)))
44.0ms
(/ (* x (+ y z)) z)
42.0ms
(/ (* x (+ y z)) z)

simplify1.5s

Counts
140 → 140
Iterations

Useful iterations: done (1.5s)

IterNodesCost
01572117
13931552
223661380
done50011349

prune511.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

regimes229.0ms

Accuracy

68% (0.9b remaining)

Error of 1.0b against oracle of 0.0b and baseline of 2.9b

bsearch1.0ms

simplify13.0ms

Iterations

Useful iterations: done (13.0ms)

IterNodesCost
02275
12869
23163
33463
done3462

end0.0ms

sample857.0ms

Algorithm
intervals
Results
376.0ms9524×body80valid