Details

Time bar (total: 8.2s)

sample34.0ms

Algorithm
intervals
Results
14.0ms318×body80valid

simplify780.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
089
1229
2449
31139
43759
513589
done50019

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 10.9b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ (- y z) 1.0))
10.3b
(/ (* x (+ (- y z) 1.0)) z)

rewrite164.0ms

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

series99.0ms

Counts
2 → 6
Calls
2 calls:
44.0ms
(* x (+ (- y z) 1.0))
55.0ms
(/ (* x (+ (- y z) 1.0)) z)

simplify721.0ms

Counts
53 → 53
Iterations

Useful iterations: done (719.0ms)

IterNodesCost
094609
1272593
21247507
done5001499

prune123.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize12.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ z (+ (- y z) 1.0))
3.0b
(/ x (/ z (+ (- y z) 1.0)))

rewrite104.0ms

Algorithm
rewrite-expression-head
Rules
150×*-un-lft-identity
138×times-frac
70×add-sqr-sqrt add-cube-cbrt
32×distribute-lft-out
26×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 → 139
Calls
2 calls:
44.0ms
(/ z (+ (- y z) 1.0))
52.0ms
(/ x (/ z (+ (- y z) 1.0)))

series159.0ms

Counts
2 → 6
Calls
2 calls:
83.0ms
(/ z (+ (- y z) 1.0))
76.0ms
(/ x (/ z (+ (- y z) 1.0)))

simplify1.3s

Counts
145 → 145
Iterations

Useful iterations: 2 (462.0ms)

IterNodesCost
02002400
15222252
225672148
done50012148

prune425.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (+ (- y z) 1.0) z)
3.2b
(* x (/ (+ (- y z) 1.0) z))

rewrite226.0ms

Algorithm
rewrite-expression-head
Rules
57×*-un-lft-identity
31×times-frac
27×add-sqr-sqrt
22×add-cube-cbrt
19×associate-*r*
14×distribute-lft-out
add-exp-log add-cbrt-cube
distribute-lft-out--
associate-/l*
pow1
associate-*l* associate-/r*
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv associate-/l/ add-log-exp unswap-sqr
associate-+l- frac-2neg flip3-+ div-sub associate-*r/ pow-prod-down clear-num *-commutative flip-+
Counts
2 → 76
Calls
2 calls:
103.0ms
(/ (+ (- y z) 1.0) z)
118.0ms
(* x (/ (+ (- y z) 1.0) z))

series105.0ms

Counts
2 → 6
Calls
2 calls:
39.0ms
(/ (+ (- y z) 1.0) z)
66.0ms
(* x (/ (+ (- y z) 1.0) z))

simplify870.0ms

Counts
82 → 82
Iterations

Useful iterations: done (866.0ms)

IterNodesCost
01071003
1285967
21281875
done5001871

prune215.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize21.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (+ (/ (* x y) z) (* 1.0 (/ x z))) x)
0.0b
(+ (/ (* x y) z) (* 1.0 (/ x z)))
6.3b
(/ (* x y) z)

rewrite160.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
pow1 times-frac associate-/r*
cbrt-undiv diff-log div-exp sum-log
+-commutative sub-neg flip3-- frac-2neg flip3-+ associate-*r/ frac-add prod-exp associate--l+ clear-num flip-- cbrt-unprod flip-+ div-inv associate-/l* distribute-lft-out-- difference-of-squares
Counts
3 → 49
Calls
3 calls:
125.0ms
(- (+ (/ (* x y) z) (* 1.0 (/ x z))) x)
19.0ms
(+ (/ (* x y) z) (* 1.0 (/ x z)))
14.0ms
(/ (* x y) z)

series161.0ms

Counts
3 → 9
Calls
3 calls:
61.0ms
(- (+ (/ (* x y) z) (* 1.0 (/ x z))) x)
73.0ms
(+ (/ (* x y) z) (* 1.0 (/ x z)))
28.0ms
(/ (* x y) z)

simplify812.0ms

Counts
58 → 58
Iterations

Useful iterations: done (809.0ms)

IterNodesCost
099812
1273759
21306713
done5001699

prune189.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes148.0ms

Accuracy

81.4% (0.6b remaining)

Error of 0.6b against oracle of 0.0b and baseline of 3.0b

bsearch74.0ms

Steps
ItersRangePoint
9
6.720882896059121e-195
1.054475616406439e-186
9.896449769877687e-188
6
-3.3241533431009845e+19
-4.097227766605898e+18
-2.4086198947376116e+19

simplify3.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
02039
12731
done2731

end0.0ms

sample1.3s

Algorithm
intervals
Results
814.0ms10022×body80valid