Details

Time bar (total: 21.1s)

sample699.0ms

Algorithm
intervals
Results
265.0ms49×body2560valid
131.0ms81×body1280valid
58.0ms65×body640valid
19.0ms33×body320valid
14.0ms16×body160valid
3.0ms12×body80valid

simplify28.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
069
1139
2179
3199
done199

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.0b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x (sin x)) (- x (tan x)))
2.3b
(- x (tan x))
2.3b
(- x (sin x))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt *-un-lft-identity
25×times-frac
15×add-cube-cbrt
14×distribute-lft-out-- difference-of-squares
add-log-exp
add-exp-log associate-/r* add-cbrt-cube associate-/l*
flip3-- flip--
pow1
sub-neg diff-log associate-/r/ associate-/l/
cbrt-undiv frac-2neg div-sub div-exp clear-num div-inv
Counts
3 → 80
Calls
3 calls:
46.0ms
(/ (- x (sin x)) (- x (tan x)))
7.0ms
(- x (tan x))
9.0ms
(- x (sin x))

series266.0ms

Counts
3 → 9
Calls
3 calls:
104.0ms
(/ (- x (sin x)) (- x (tan x)))
118.0ms
(- x (tan x))
44.0ms
(- x (sin x))

simplify909.0ms

Counts
89 → 89
Iterations

Useful iterations: done (905.0ms)

IterNodesCost
01571237
13711200
213581149
done50011147

prune276.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sin x) (- x (tan x)))
2.2b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
2.3b
(- x (tan x))
2.3b
(- x (tan x))

rewrite161.0ms

Algorithm
rewrite-expression-head
Rules
54×*-un-lft-identity
44×add-sqr-sqrt
33×times-frac
18×distribute-lft-out--
16×add-cube-cbrt
12×difference-of-squares
10×add-log-exp
add-exp-log flip3-- associate-/r/ add-cbrt-cube flip--
associate-/r*
pow1
sub-neg distribute-rgt-out-- diff-log div-inv associate-/l*
cbrt-undiv frac-2neg div-exp clear-num frac-sub sub-div
Counts
4 → 94
Calls
4 calls:
19.0ms
(/ (sin x) (- x (tan x)))
127.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
6.0ms
(- x (tan x))
6.0ms
(- x (tan x))

series554.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(/ (sin x) (- x (tan x)))
318.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
71.0ms
(- x (tan x))
87.0ms
(- x (tan x))

simplify829.0ms

Counts
106 → 106
Iterations

Useful iterations: done (825.0ms)

IterNodesCost
01771565
13881511
214241450
done50001449

prune319.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- x (sin x)) (- x (/ (sin x) (cos x))))
0.2b
(/ (sin x) (cos x))
2.3b
(- x (/ (sin x) (cos x)))
2.3b
(- x (sin x))

rewrite152.0ms

Algorithm
rewrite-expression-head
Rules
76×add-sqr-sqrt
55×*-un-lft-identity
46×times-frac
25×add-cube-cbrt
22×difference-of-squares
15×distribute-lft-out--
associate-/r*
add-exp-log add-cbrt-cube associate-/l* add-log-exp
pow1 flip3-- flip--
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num associate-/r/ div-inv associate-/l/
quot-tan div-sub
Counts
4 → 115
Calls
4 calls:
83.0ms
(/ (- x (sin x)) (- x (/ (sin x) (cos x))))
18.0ms
(/ (sin x) (cos x))
26.0ms
(- x (/ (sin x) (cos x)))
20.0ms
(- x (sin x))

series293.0ms

Counts
4 → 12
Calls
4 calls:
131.0ms
(/ (- x (sin x)) (- x (/ (sin x) (cos x))))
31.0ms
(/ (sin x) (cos x))
87.0ms
(- x (/ (sin x) (cos x)))
44.0ms
(- x (sin x))

simplify1.1s

Counts
127 → 127
Iterations

Useful iterations: 2 (270.0ms)

IterNodesCost
02062024
14791960
218861880
done50001880

prune390.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize26.0ms

Local error

Found 3 expressions with local error:

0.1b
(* 9/40 (pow x 2))
0.3b
(* 27/2800 (pow x 4))
15.6b
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
15×associate-*r*
13×add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-log-exp
add-cbrt-cube unswap-sqr
associate-*l* prod-exp
sqr-pow
pow1
pow-to-exp diff-log pow-exp *-commutative cbrt-unprod unpow2
sub-neg flip3-- sum-log flip-- associate--r+
Counts
3 → 66
Calls
3 calls:
19.0ms
(* 9/40 (pow x 2))
24.0ms
(* 27/2800 (pow x 4))
39.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

series162.0ms

Counts
3 → 9
Calls
3 calls:
59.0ms
(* 9/40 (pow x 2))
49.0ms
(* 27/2800 (pow x 4))
54.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

simplify752.0ms

Counts
75 → 75
Iterations

Useful iterations: done (750.0ms)

IterNodesCost
0121788
1291703
21076645
done5000643

prune205.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes48.0ms

Accuracy

100% (0.0b remaining)

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

bsearch138.0ms

Steps
ItersRangePoint
8
0.01136632641909174
309.51167567074003
0.028269902272629245
10
-1950712569354.648
-0.00015980627971116164
-0.03059660473543996

simplify6.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03149
13449
done3449

end0.0ms

sample13.6s

Algorithm
intervals
Results
6.4s1573×body2560valid
4.1s2754×body1280valid
2.2s1893×body640valid
486.0ms949×body320valid
143.0ms479×body160valid
59.0ms352×body80valid