Details

Time bar (total: 6.1s)

sample42.0ms

Algorithm
intervals
Results
12.0ms54×body640valid
8.0ms140×body80valid
5.0ms34×body320valid
3.0ms13×body1280valid
1.0ms15×body160valid

simplify11.0ms

Counts
1 → 1

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 8.1b

localize20.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1.0 (- x 1.0))
0.0b
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
2.3b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

rewrite568.0ms

Algorithm
rewrite-expression-head
Rules
65×*-un-lft-identity
35×times-frac
33×add-sqr-sqrt
14×distribute-lft-out--
13×add-cube-cbrt
10×add-log-exp
distribute-lft-out
difference-of-squares
add-exp-log associate-/r* add-cbrt-cube
pow1 flip3-- frac-add flip-- associate-/l*
sub-neg associate-+l+ diff-log sum-log associate-/r/ frac-sub
cbrt-undiv +-commutative associate-+l- frac-2neg flip3-+ div-exp clear-num flip-+ div-inv
Counts
3 → 81
Calls
3 calls:
23.0ms
(/ 1.0 (- x 1.0))
87.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
450.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series431.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(/ 1.0 (- x 1.0))
74.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
316.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify101.0ms

Counts
90 → 90

prune317.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.3b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0)) (* (* (+ x 1.0) x) (- x 1.0)))
0.0b
(* (* (+ x 1.0) x) (- x 1.0))
0.2b
(- (* 1.0 x) (* (+ x 1.0) 2.0))
17.0b
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

rewrite257.0ms

Algorithm
rewrite-expression-head
Rules
88×associate-*l/
32×frac-add
31×flip3-- flip--
24×frac-times flip3-+ flip-+
18×add-exp-log add-cbrt-cube associate-/l/
12×associate-*r/
pow1 add-sqr-sqrt *-un-lft-identity
associate-/r/ add-log-exp
add-cube-cbrt
prod-exp cbrt-unprod
sub-neg associate-*r*
distribute-rgt-in associate-+l+ distribute-lft-in
cbrt-undiv times-frac div-exp pow-prod-down associate-/l*
+-commutative frac-2neg diff-log associate-*l* clear-num associate-/r* sum-log *-commutative div-inv distribute-lft-out-- difference-of-squares
Counts
4 → 124
Calls
4 calls:
141.0ms
(/ (+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0)) (* (* (+ x 1.0) x) (- x 1.0)))
51.0ms
(* (* (+ x 1.0) x) (- x 1.0))
8.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
51.0ms
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

series354.0ms

Counts
4 → 12
Calls
4 calls:
149.0ms
(/ (+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0)) (* (* (+ x 1.0) x) (- x 1.0)))
142.0ms
(* (* (+ x 1.0) x) (- x 1.0))
61.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
2.0ms
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

simplify73.0ms

Counts
136 → 136

prune734.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.3b

localize15.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (+ x 1.0) x)
0.0b
(* (* (+ x 1.0) x) (- x 1.0))
0.3b
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

rewrite130.0ms

Algorithm
rewrite-expression-head
Rules
19×add-exp-log add-cbrt-cube
18×associate-*l/
12×add-sqr-sqrt *-un-lft-identity
10×pow1
frac-times add-cube-cbrt associate-*r* associate-/r/
flip3-+ prod-exp cbrt-unprod flip-+
flip3-- flip--
associate-*l*
associate-*r/ pow-prod-down
cbrt-undiv times-frac div-exp associate-/l* add-log-exp
distribute-rgt-in sub-neg distribute-lft-in *-commutative
frac-2neg clear-num associate-/r* div-inv distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 84
Calls
3 calls:
31.0ms
(* (+ x 1.0) x)
44.0ms
(* (* (+ x 1.0) x) (- x 1.0))
49.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

series332.0ms

Counts
3 → 9
Calls
3 calls:
66.0ms
(* (+ x 1.0) x)
146.0ms
(* (* (+ x 1.0) x) (- x 1.0))
120.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

simplify59.0ms

Counts
93 → 93

prune258.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (+ x 1.0) x)
0.0b
(/ (/ 2.0 (* (+ x 1.0) x)) (- x 1.0))
0.1b
(/ 2.0 (* (+ x 1.0) x))

rewrite100.0ms

Algorithm
rewrite-expression-head
Rules
66×times-frac
51×add-sqr-sqrt *-un-lft-identity
29×add-cube-cbrt
19×add-exp-log add-cbrt-cube
16×associate-*l/ associate-/r/
12×associate-/l*
10×distribute-lft-out-- difference-of-squares
flip3-+ flip-+ div-inv
cbrt-undiv div-exp
associate-/r*
pow1
associate-*l*
associate-*r* prod-exp cbrt-unprod add-log-exp
frac-2neg clear-num
flip3-- pow-prod-down *-commutative flip-- associate-/l/ distribute-lft-out unswap-sqr
Counts
3 → 122
Calls
3 calls:
21.0ms
(* (+ x 1.0) x)
50.0ms
(/ (/ 2.0 (* (+ x 1.0) x)) (- x 1.0))
21.0ms
(/ 2.0 (* (+ x 1.0) x))

series248.0ms

Counts
3 → 9
Calls
3 calls:
60.0ms
(* (+ x 1.0) x)
141.0ms
(/ (/ 2.0 (* (+ x 1.0) x)) (- x 1.0))
47.0ms
(/ 2.0 (* (+ x 1.0) x))

simplify71.0ms

Counts
131 → 131

prune348.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

regimes14.0ms

Accuracy

34.4% (0.1b remaining)

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

bsearch0.0ms

simplify64.0ms

end0.0ms

sample1.5s

Algorithm
intervals
Results
522.0ms1862×body640valid
284.0ms554×body1280valid
226.0ms4203×body80valid
204.0ms927×body320valid
47.0ms455×body160valid