Details

Time bar (total: 5.9s)

sample315.0ms

Algorithm
intervals
Results
205.0ms68×body640valid
57.0ms127×body1280valid
18.0ms256×pre80true
4.0ms24×body320valid
2.0ms32×body80valid
1.0msbody160valid

simplify22.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0155
1225
2335
3395
4505
5705
6995
71245
81665
92595
102605
112605

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 15.1b

Counts
2 → 1

localize13.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
4.7b
(tan (+ y z))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg tan-sum associate-+r+ diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 42
Calls
3 calls:
5.0ms
(+ x (- (tan (+ y z)) (tan a)))
6.0ms
(- (tan (+ y z)) (tan a))
6.0ms
(tan (+ y z))

series109.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(+ x (- (tan (+ y z)) (tan a)))
32.0ms
(- (tan (+ y z)) (tan a))
33.0ms
(tan (+ y z))

simplify38.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune99.0ms

Filtered
39 candidates to 51 candidates (-30.8%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New43851
Fresh000
Picked101
Done000
Total44852

Merged error: 0.2b

Counts
52 → 8

localize19.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan y) (tan z))
0.2b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.3b
(* (tan y) (tan z))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
13×add-sqr-sqrt add-log-exp
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r* associate-*l* sum-log distribute-lft-out
+-commutative sub-neg associate-+r+ flip3-+ diff-log flip-+ distribute-lft-out-- difference-of-squares
frac-times associate-+r- flip3-- times-frac associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp *-commutative frac-sub flip-- cbrt-unprod unswap-sqr
Counts
4 → 67
Calls
4 calls:
4.0ms
(+ (tan y) (tan z))
12.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
12.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))

series286.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(+ (tan y) (tan z))
123.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
121.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
22.0ms
(* (tan y) (tan z))

simplify74.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0367860
11074821
23057814
35001814

prune136.0ms

Filtered
59 candidates to 79 candidates (-33.9%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New71879
Fresh707
Picked101
Done000
Total79887

Merged error: 0.1b

Counts
87 → 8

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (/ (cbrt (pow (+ (tan y) (tan z)) 3)) (- 1 (* (tan y) (tan z)))) (tan a))
0.3b
(* (tan y) (tan z))
0.6b
(pow (+ (tan y) (tan z)) 3)
6.6b
(cbrt (pow (+ (tan y) (tan z)) 3))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
22×*-un-lft-identity
18×cbrt-prod
12×add-cube-cbrt
tan-quot unpow-prod-down cube-prod
pow1 add-exp-log add-cbrt-cube
cube-div add-log-exp difference-of-squares
times-frac
distribute-lft-out
pow-unpow cbrt-div associate-*r* associate-*l* sqr-pow
cube-mult flip3-+ unpow3 frac-add flip-+
frac-times pow-to-exp sub-neg flip3-- pow-pow pow1/3 diff-log associate-*r/ pow-prod-down associate-*l/ pow-exp prod-exp *-commutative frac-sub flip-- rem-cbrt-cube cbrt-unprod distribute-lft-out-- rem-cube-cbrt unswap-sqr
Counts
4 → 95
Calls
4 calls:
24.0ms
(- (/ (cbrt (pow (+ (tan y) (tan z)) 3)) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))
5.0ms
(pow (+ (tan y) (tan z)) 3)
5.0ms
(cbrt (pow (+ (tan y) (tan z)) 3))

series191.0ms

Counts
4 → 12
Calls
4 calls:
117.0ms
(- (/ (cbrt (pow (+ (tan y) (tan z)) 3)) (- 1 (* (tan y) (tan z)))) (tan a))
23.0ms
(* (tan y) (tan z))
30.0ms
(pow (+ (tan y) (tan z)) 3)
20.0ms
(cbrt (pow (+ (tan y) (tan z)) 3))

simplify51.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04481027
11674969
25002949

prune156.0ms

Filtered
67 candidates to 107 candidates (-59.7%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1061107
Fresh077
Picked101
Done000
Total1078115

Merged error: 0.1b

Counts
115 → 8

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a)))
0.2b
(/ (* (tan y) (sin z)) (cos z))
0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a))
0.3b
(* (tan y) (sin z))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt *-un-lft-identity
11×add-exp-log add-cbrt-cube add-log-exp
add-cube-cbrt
pow1
times-frac
tan-quot associate-*r* associate-*l* associate-/r*
cbrt-undiv sub-neg associate-+r+ diff-log div-exp associate-*l/ prod-exp sum-log cbrt-unprod distribute-lft-out distribute-lft-out-- difference-of-squares
+-commutative associate-+r- flip3-- frac-2neg flip3-+ pow-prod-down clear-num *-commutative frac-sub flip-- flip-+ div-inv associate-/l/ associate-/l* unswap-sqr
Counts
4 → 74
Calls
4 calls:
19.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a)))
5.0ms
(/ (* (tan y) (sin z)) (cos z))
16.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a))
5.0ms
(* (tan y) (sin z))

series281.0ms

Counts
4 → 12
Calls
4 calls:
126.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a)))
22.0ms
(/ (* (tan y) (sin z)) (cos z))
118.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a))
15.0ms
(* (tan y) (sin z))

simplify39.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
03911035
11334960
25002951

prune80.0ms

Filtered
62 candidates to 86 candidates (-38.7%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New85186
Fresh077
Picked011
Done000
Total85994

Merged error: 0.1b

Counts
94 → 9

regimes432.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02213
12213

end0.0ms

sample3.4s

Algorithm
intervals
Results
1.6s3844×body1280valid
520.0ms8000×pre80true
472.0ms1981×body640valid
121.0ms728×body320valid
57.0ms1174×body80valid
33.0ms273×body160valid

Profiling

Loading profile data...